[TYPO3-50-general] FLOW3 and DDD

Martin Kutschker masi-no at spam-typo3.org
Mon Jan 19 12:50:06 CET 2009


Nino Martincevic schrieb:
> Hi Robert,
> 
> Robert Lemke schrieb:
>> Yes, sure, but technically you can annotate a class as @entity, create
>> an instance of it and don't add it to a repository or an entity which
>> is part of an aggregate. Then it won't be persisted.
>>
>> So conceptually a class annotated as @entity is always a member of an
>> aggregate. But it doesn't mean that it will be persisted (that's only
>> the case if it has a connectino to a repository).
> 
> Hm, that seems to be a conceptual problem, though I'm not aware of the
> whole current architecture and the next statement shows me that you have
> probably already thought of it.
> You said:
> "Therefore if you create an entity or value object, it will only be
> persisted if it is connected to an aggregate (an thus a repository)."
> 
> That's exactly the point.

Hey guys, does this really solve real world problems? If I can create an
object and it's stored automatically. Great. What do i care if this is
what you call an aggregate or whatnot.

FLOW3 has now been designed for 2 years or more. How is it that there is
a discussion going on how DDD should be implemented.

Masi


More information about the TYPO3-project-5_0-general mailing list