[TYPO3-mvc] Single table enheritance question...

Stig Nørgaard Færch snf at dkm.dk
Sun Aug 18 15:13:33 CEST 2013


Hello

First - I'm still an Extbase novice, so bear with me.

My project is like this.

I want these models (example)
1) * name, img1, img2, img3, img4
2) * name, img1, img2, img3, img4, img5, img6
3) * name, img1, img2, img3, img4, img5, img6, img7, img8
4) * name, img1, img2, img3, img4, div1, div2
and so on...

I was thinking of making a base model of the smallest one (1), and then 
extend on it.
For example #2 would extend with img5 and img6.

But then the question is what to do with #3?
Will I then extend upon #2? Or should I again extend on #1?
Or is just better to have all the img-fields in the base model, even 
though not using them in all the "sub"-models?

Best regards,
Stig


More information about the TYPO3-project-typo3v4mvc mailing list