<commit_before>rddd
====

Ruby DDD (Domain Driven Development) framework

Intention of rddd is to provide basic skeleton for DDD ruby application. Its framework agnostic, although some framework specific extensions might come later to make it easier to start.

## Key goals

* Provide basic DDD elements
* Support separation of domain from delivery mechanism (MVC framework)
* Support separation of domain from persistancy mechanism

## Basic elements

As defined in DDD itself, framework has couple basic object types:

* Services - use cases
* Entities - domain objects with identity
* Aggregate roots - entities roots to setup consistency boundaries
* Repositories - abstraction over persistancy providing collections of aggregate roots

Alongside core DDD object types, there is couple supporting ones, mostly factories.

### Service bus<commit_msg>add image to readme<commit_after>rddd
====

Ruby DDD (Domain Driven Development) framework

Intention of rddd is to provide basic skeleton for DDD ruby application. Its framework agnostic, although some framework specific extensions might come later to make it easier to start.

## Key goals

* Provide basic DDD elements
* Support separation of domain from delivery mechanism (MVC framework)
* Support separation of domain from persistancy mechanism

## Basic architecture

![Architecture overview](https://github.com/petrjanda/rddd/blob/master/documentation/rddd.png)

As defined in DDD itself, framework has couple basic object types:

* Services - use cases
* Entities - domain objects with identity
* Aggregate roots - entities roots to setup consistency boundaries
* Repositories - abstraction over persistancy providing collections of aggregate roots

Alongside core DDD object types, there is couple supporting ones, mostly factories.

### Service bus
{'fraction_non_alphanumeric': 0.04966887417218543, 'fraction_numerical': 0.0, 'mean_word_length': 5.104377104377105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '545532', 'n_tokens_mistral': 445, 'n_tokens_neox': 424, 'n_words': 224}