I need a factory pattern at the component/controller level, but am not
sure of the best way to integrate it.

I could create a file containing the abstract class with
it’s different implementation subclasses, and brute force include() it
via bootstrap, then do all the instantiation/initialization  myself in
my controller.

But that’s so raw php’ish.

Is there a better “cake” way ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to