thanks for your advice denstar, i will def read around this more. On Sep 14, 9:02 pm, denstar <[EMAIL PROTECTED]> wrote: > Dependency injection is a little different than the factory pattern. > > The book "head first design patterns" is a good read that really hits > home with it's examples (plus, they use pizza making as examples!). > > For instance (heh), you may have things beyond dependency injection > going on when creating your objects. > > There is a bunch of information out there on the web, too. Heck > wikipedia usually has a good rundown on X pattern. > > Check out the factory pattern itself, and see if what I'm talking > about makes sense. > > http://en.wikipedia.org/wiki/Factory_pattern(short blurb, there's > better stuff out there) > > HIH, > :DeN > > -- > Life has become the ideology of its own absence. > Theodor Adorno > > On Sun, Sep 14, 2008 at 9:48 AM, cs01rsw wrote: > > > thanks for your replies, i have been through the documentation and > > lots of others good stuff such as Sean Corfield CF United presentation > > on Managing ColdFusion Components with Factories. > > > i understand now that a factory is a place that manages bean > > dependencies which allows for many benefits. > > from this i have also presumed that ColdSpring is essentially a > > factory itself (sorry i know i am not doing it justice by saying that, > > but im trying to talk in a basic form to make sure my understanding is > > correct) > > > i have also concluded that seeing as coldsprings is a factory then i > > dont have to be creating custom factories unless i see a specific need > > to create seperate factories (e.g. for unit testing purposes). > > > sorry but just wondering if it sounds to you guys whether i am getting > > this or whether i am not grasping it fully? also why is it that i have > > also seen people create and load a beanfactory into the application > > scope when coldsprings does this anyway (i understand they may do this > > if they have several bean factories but why if there is only one) > > > thanks for your help > > > richard > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
For more about Model-Glue, check http://www.model-glue.com . -~----------~----~----~----~------~----~------~--~---
