[TYPO3-mvc] mmm-relationship
Jigal van Hemert
jigal at xs4all.nl
Mon Jun 7 10:14:09 CEST 2010
Nils Blattner wrote:
> The way standard mm-relations in TYPO3 work this is not possible directly.
> Or only with dropping BE-editing and managing the tables yourself.
>
> However alternatively I suggest the following:
>
> Split it up in a two way relation ->
> - company n : 1 roleInstance
> make a helper table that takes one company and one role and thus "
> instanciates the company
> - roleInstance n : m product
> instead of connecting the company directly you relate the
> roleInstance to the product via mm-relation.
>
> In real world terms you could say that the roleInstance is the company
> acting out a specific aspect.
DDD wants us to model the application with the same structure as the
domain, right? In real life relations have properties too. Maybe it's
time that relations in TYPO3 can have properties and relations to other
objects?
--
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh
More information about the TYPO3-project-typo3v4mvc
mailing list