[TYPO3-mvc] Saving Aggregate root in Session

Kilian Hann khann at fconnection.com
Tue Mar 20 10:18:08 CET 2012


Hi List,

I have a domain model (called 'iteration') which should be transferred 
during a multi step form. The children are proper entities with their 
own repository:

iteration
|- child1
|- child2
|- child3

'Iteration' doesn't have it's own repository, as it's only needed 
during a user session. The children won't change during the form 
submission, they are readonly.

What would be the appropriate way to do this?

a) saving the 'iteration' as a whole in the session (How can I bypass 
the non-existent repository in that case?)

b) saving the uid's of the children and reinstatiate them when the 
'iteration' is received from the session in the next step.

Any hints are apreciated

Kilian
-- 
Future Connection AG
http://fconnection.com



More information about the TYPO3-project-typo3v4mvc mailing list