[TYPO3-mvc] Conception: Repository / Models

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Mon May 17 14:04:28 CEST 2010


Actually I'd use single table inheritance to store
related objects or similar objects in one table.
Imho it doesn't make sense to store different
types of objects in a single table, if you're
refering to that.

Regards,
Thomas

Am 17.05.2010 13:24, schrieb S.Korth:
> Sebastian Kurfürst schrieb:
>> Hey,
>>
>>> as I know you should make a repository for each model which interacts
>>> with other models.
>> Well, in fact you need to create a repository for each Aggregate Root in
>> your model; not for every model which interacts with other models.
>>
>> I recommend reading the book "Domain-Driven Design" by Eric Evans, and
>> at first sight, the blog post below looks quite good:
>> http://richarddingwall.name/2009/10/13/life-inside-an-aggregate-root-part-1/
>>
>>
>> Greets,
>> Sebastian
>
>
> Hey Sebastian,
>
> i read this topic and bring "Single Table Inheritance" in mind. Does it
> makes sence to use this technic more and more instead of building a
> table for every Model? I just found this Feature Post
> (http://forge.typo3.org/issues/show/5883), but never used it up to now.
>
> Thanks
> Sascha
>


More information about the TYPO3-project-typo3v4mvc mailing list