[TYPO3-mvc] using proxy objects as properties (eg for bulk load)

Martin Kutschker masi-no at spam-typo3.org
Tue Mar 16 09:56:08 CET 2010


Hi!

Operating with objects and a persistence layer is fun if you have only a few to work on at the same
time. If you try to make a bulk load it's horrible. To much stuff going on and too many objects
involved.

One idea I had is to use proxy objects as arguments to setters. What's needed to make this work is
IMHO only that the argument doesn't take the class but the interface (which must be created of
course) as argument. Seems simple enough. Has anyone better ideas? Can or should ExtBase/FLOW3 to
help using such a scheme?

The other idea was that the persistence layer has to have a way to release all it's references to
certain objects so that PHP can free the memory. This is a must have or you will need gigs of RAM
and still need more (as experienced recently with Sugar CRM).

Masi


More information about the TYPO3-project-typo3v4mvc mailing list