[TYPO3-mvc] non-db based value objects and embedded values - how to?

Martin Kutschker masi-no at spam-typo3.org
Thu Jun 3 13:30:18 CEST 2010


Franz Koch schrieb:
> 
> if I got you right, you like to have extbase map a property to any
> class/object you define in the doc comment, as it's currently limited to
> objects based on DB relations and DateTime only.

Yes.

> I can only second that.

A good sign for my sanity :)

> For me, a straight forward solution would be to stay with the @var
> annotation and let extbase do the magic in the background - no TS hassle
> (although TS would allow more flexibility to "hack" foreign extensions
> in v4).

Yes, the reason for for TS is to allow site or branch specific setups.

> Using a factory if available also sounds good to me -
> alternatively a "@factory Tx_MyExt_MVC_Objects_TCASelect" annotation
> could be used instead of @var - but I'd favor to stay with @var.

Thanks for your suggestions,
Masi


More information about the TYPO3-project-typo3v4mvc mailing list