[TYPO3-mvc] Extbase dispatcher used as a factory?

Christoph Ehscheidt ehscheidt at punkt.de
Fri Mar 19 13:44:13 CET 2010


Hi,

in my special case it would be enough to be able to set a different classname 
for the PersistenceManager. 

A good configuration place would be the $pluginConfiguration['settings'] array 
which is filled by TS.
A PersistenceManagerFactory could than use this (injected) configuration to 
instantiate the defined class.

The Factory could replace every dispatcher reference where a method needs the 
PersistenceManager.

Even if nobody needs a different PersistenceManager the method which creates it 
is very complex and doesn't belong in a dispatcher domain.

Regards,
Chris

Am Donnerstag, 18. März 2010 14:17:16 schrieb Sebastian Kurfürst:
> Hi Chris,
> 
> > Is there a plan for the future to change this?
> > I would love to see somthing like a injection of a
> > PersistenceManagerFactory maybe defined in a configuration.
> 
> You are totally right, that this is still an issue. In general
> extensibility in this regard is planned, but it is always difficult to
> come up with a concept without having a real use-case in mind.
> 
> Thus, I'd appreciate very much if you would like to look at this issue,
> and maybe come up with some ideas how this code can be modularized, and
> how such classes could be made configurable.
> 
> Greets,
> Sebastian
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list