[TYPO3-mvc] Persistence of value objects

Daniel Schöne daniel at schoene.it
Wed Apr 18 15:15:31 CEST 2012


afaik value objects are not implemented yet, neither in extbase nor in flow3.

cheers,
daniel

On 18.04.2012, at 15:07, Dennis Ahrens wrote:

> Hi list,
> 
> i currently try to change my domain model for a person. Therefore i'd like to make the assigned addresses a value object, because there are many instances with the same address and i don't care about all existing addresses.
> 
> When monitoring the database i've noticed that same addresses were saved as seperate instances, with a uid etc.
> 
> To verfiy this, i've installed the blog_example and had a look at how tags are persisted. It behaves in the same way.
> 
> It looks as if they are handled in the same way like entities, is there a reason for this behaviour? I guess this is not the intended way, is it?
> 
> I'm currently using extbase 1.4.1 with some cherry picks, which should not affect this part of persistence.
> 
> regards
> Dennis
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
> 

-- 
Daniel Schöne




More information about the TYPO3-project-typo3v4mvc mailing list