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

Jochen Rau jochen.rau at typoplanet.de
Thu Jun 10 22:58:13 CEST 2010


Hi Martin.

On 2010-06-10, Martin Kutschker <masi-no at spam-typo3.org> wrote:
> Jochen Rau schrieb:
>> FLOW3 has the concept of custom factories that fits your needs imo.
>> 
>> http://flow3.typo3.org/documentation/manuals/flow3/flow3.objectframework/#id37778491
>
> While I agree that they are nice, they are not what we need. Our problem is that there is only one
> data mapper and that it cannot be augmented. The issue is that it know only a very limited set of
> data types (PHP scalars, referenced/persisted TCA objects and DateTime). So we want either hhave a
> way to add more types in general or to add more types on a per class/model/table base.

Sorry. I don't get the point here. If we invoke a factory class at time of reconstitution, we will have totally freedom to map the incoming data to the object properties. Another ingredient will be dependency injection (Daniel Pötzinger is currently working on an implementation for 4.x afaik).

Do you participate in T3DD10?

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list