[TYPO3-mvc] ValueObject against Entity

Claus Due claus at wildside.dk
Tue Sep 4 17:05:53 CEST 2012


Hi Stefan,

Main difference:

ValueObjects cannot function as aggregate roots.

Cheers,
Claus

On Sep 4, 2012, at 5:00 PM, Stefan Frömken <firma at sfroemken.de> wrote:

> Hello MVC-Team,
> 
> I have to write a documentation for your/our Extbase-Team. But I have a problem to give the user a helping hand when he has to use entity or a value object.
> OK...there is a difference regarding the identity, but in my sample extension I just have created a new domain model based on a value object and all links have a GET-Parameter keeping the UID of the current record. So a value object has an identity, too.
> 
> So...what is the difference?
> 
> Stefan
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list