You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
EqualsBuilder for PHP. Ease the comparison of ValueObject properties within ValueObjectInterface#sameValueAs implementations.
33
36
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.
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.
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.
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.
0 commit comments