Uszanowanko Programowanko #1 - Persisting Value Objects
10
Persisting Value Objects
-
Upload
the-software-house -
Category
Software
-
view
147 -
download
0
Transcript of Uszanowanko Programowanko #1 - Persisting Value Objects
Persisting Value Objects
Value Object
“A small simple object, like money or a date range, whose equality isn't based on identity.”
Martin Flower
Doctrine - Map surrogate
Doctrine - Embeddables
Doctrine - DBAL Types
Doctrine - Serialization
Doctrine Object Mapping Type!
SQL CLOB to a PHP object using serialize() and unserialize().
Serialization with JMS Serializer!
Avoid PHP native serialize/unserialize issues with class and namespace refactoring
Doctrine - Collection of VO
References
Ross Tuck!
http://rosstuck.com/persisting-value-objects-in-doctrine/
DDD discussion group!
http://dddinphp.org
Thank You