[TYPO3-mvc] m:n:1 relations?

Marc Wöhlken woehlken at quadracom.de
Mon Sep 1 17:28:59 CEST 2014


Hello Franz!
Am 01.09.2014 um 15:03 schrieb Franz Koch:
> To give a indicator on how the models could be arranged, I'd create 4 
> models: Book, Person, Role, Relationship (you might find a better name 
> for the later).
> 
> Now, a Book would have a "relatedPersons" property connected to 
> Relationship models. A Relationship would have n:1 properties for Book, 
> Person, Role. That way, the same person could have several roles 
> (author, publisher, ...) while still beeing a unique entity.

Thank you very much for this hint, works like a charm ;-)

CU
Marc


-- 
...........................................................
Marc Wöhlken                     TYPO3 certified integrator

Quadracom - Proffe & Wöhlken

Rembertistraße 32              WWW: http://www.quadracom.de
D-28203 Bremen                E-Mail: woehlken at quadracom.de
______________             PGP-Key: http://pgp.quadracom.de


More information about the TYPO3-project-typo3v4mvc mailing list