Question
Command factories in frontcontroller
Hi all,
one of the things I would like to see improved is the way the frontcontroller handles the creation of commands. The FC is now actually a very basic command factory itself: it looks up the class of the command via the event name and dynamically instantiates a new command. I want to be able to create my own command factory that is able to post process a command once it is created and does some configuration (e.g. inject a business delegate into the command).
Any thoughts?
one of the things I would like to see improved is the way the frontcontroller handles the creation of commands. The FC is now actually a very basic command factory itself: it looks up the class of the command via the event name and dynamically instantiates a new command. I want to be able to create my own command factory that is able to post process a command once it is created and does some configuration (e.g. inject a business delegate into the command).
Any thoughts?
