Skip to content

Commit e353216

Browse files
author
Codeliner
committed
Add ChapterThreereview
1 parent 849bbdd commit e353216

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ PHP version of the cargo sample used in Eric Evans Domain-Driven Design book
77
[![Build Status](https://travis-ci.org/codeliner/php-ddd-cargo-sample.png?branch=master)](https://travis-ci.org/codeliner/php-ddd-cargo-sample)
88

99
[> Installation](https://github.com/codeliner/php-ddd-cargo-sample/blob/master/docs/installation.md)
10+
1011
[> DDD Tools and Libs](https://github.com/codeliner/php-ddd-cargo-sample/blob/master/docs/domain-driven-design-tools.md)
1112
Goal of the Project
1213
-------------------
@@ -58,6 +59,8 @@ ChapterThree is about Model-Driven Design.
5859
>
5960
> -- Eric Evans: Domain-Driven Design: Tackling Complexity in the Heart of Software
6061
62+
[ChapterThree Review](https://github.com/codeliner/php-ddd-cargo-sample/blob/master/docs/ChapterThree-Review.md)
63+
6164
Project Structure
6265
-----------------
6366
There is no problem if you don't know the structure of a ZF2 application. All the important

docs/ChapterThree-Review.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ChapterThree Review
2+
===================
3+
4+
An expression of the model
5+
--------------------------
6+
Like mentioned in the overview, chapter three describes the importance of a Model-Driven Design. We have used this chapter to check our current implementation against the approach and added some business descriptions to our classes, so that you can look over them and compare the business expectations with the implementation.
7+
Additionally, you can have a look at the [descriptions of the original cargo sample](http://dddsample.sourceforge.net/characterization.html) to get detailed information about some design decisions.
8+
9+
Domain-Driven Design Tools
10+
--------------------------
11+
Checkout our [collection of useful DDD tools and libraries](https://github.com/codeliner/php-ddd-cargo-sample/blob/master/docs/domain-driven-design-tools.md). The tools help you implement DDD and let you focus on the domain model, not on technical details.

docs/domain-driven-design-tools.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DDD Interfaces
1010

1111
###codeliner/shared-domain-set
1212
Collection of common DDD interfaces like EntityInterface, ValueObjectInterface, DomainEventInterface
13+
1314
[GitHub Repository](https://github.com/codeliner/shared-domain-set)
1415

1516

@@ -18,6 +19,7 @@ ValueObjects
1819

1920
###nicolopignatelli/valueobjects
2021
A PHP 5.3+ library/collection of classes aimed to help developers with domain driven development and the use of immutable objects.
22+
2123
[GitHub Repository](https://github.com/nicolopignatelli/valueobjects)
2224

2325

@@ -26,24 +28,29 @@ Little Helper
2628

2729
###beberlei/assert
2830
A simple php library which contains assertions and guard methods for input validation. Useful to guard your domain objects.
31+
2932
[GitHub Repository](https://github.com/beberlei/assert)
3033

3134
###codeliner/php-equalsbuilder
3235
EqualsBuilder for PHP. Ease the comparison of ValueObject properties within ValueObjectInterface#sameValueAs implementations.
3336
See our [RoteSpecification#sameValueAs](https://github.com/codeliner/php-ddd-cargo-sample/blob/master/module/Application/src/Application/Domain/Model/Cargo/RouteSpecification.php) as an example.
37+
3438
[GitHub Repository](https://github.com/codeliner/php-equalsbuilder)
3539

3640
Storage
3741
-------
3842

3943
###doctrine/doctrine2
4044
Doctrine 2 is an object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects. It fits well with DDD and helps you implement the repository pattern. See the various examples in our cargo shipping system.
45+
4146
[GitHub Repository](https://github.com/doctrine/doctrine2)
4247

4348
###doctrine/mongodb-odm
4449
The Doctrine MongoDB ODM project is a library that provides a PHP object mapping functionality for MongoDB. If you prefer using MongoDB as storage system, this library helps you implement the repository pattern like doctrine ORM do for Sql DBMS.
50+
4551
[GitHub Repository](https://github.com/doctrine/mongodb-odm)
4652

4753
###doctrine/couchdb-odm
4854
A Document Mapper based on CouchDB. If you prefer using CouchDB as storage system, this library helps you implement the repository pattern like doctrine ORM do for Sql DBMS.
55+
4956
[GitHub Repository](https://github.com/doctrine/couchdb-odm)

0 commit comments

Comments
 (0)