Re: [PSR-7] Quiz #3 - Identity

39 views
Skip to first unread message

Crypto Compress

unread,
Mar 25, 2015, 11:26:06 AM3/25/15
to php...@googlegroups.com
Am 25.03.2015 um 06:31 schrieb John Patrick Gerdeman:
> The other threads are locked. So I'm putting this here.
>
>
> Fowler wrote that Value Objects are important for DDD. Looking at DDD by Eric Evans page 98, it says:
>
> Value objects are instantiated to represent elements of the design that we care about only for what they are, not who or which they are.
> [...]
> A value object can be an assemblage of other objects. In software for designing house plans, an object could be created for each window style. This "window style" could be incorporated into a "window" object, along with height and width, as well as rules governing how these attributes can be changed and combined. These windows are intricate value objects made up of other value objects. They in turn would be incorporated into larger elements of a plan, such as "wall" objects.

Completely forgot about this. Thank you! My argumentation about VOs is
wrong.


>
>
> I'm sorry for hijacking this thread, but I hope this puts an end to some parts of the debate.
>
> - John
>

The points about Streams (non-VOs) and Identity of Message are intact.
Sorry, can't see the end, life of PSR-7 only begin now.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages