Hi Zeph, The term bean is used widely and can mean lots of different things, its basically just an object. In coldfusion, it would normally be an instance of a coldfusion component, but it could just as easily be an instance of a java class.
Coldspring is indeed an object factory (Bean Factory), but also does dependency injection and a few other funky tricks. In the particular case of Coldspring it is primarily a singleton factory, due to the overhead of dependency injection its not recommended for transients. Although this is hopefully being addressed in version 2. ORM's do provide database abstraction, but they are not *just *database abstraction layers. For example they allow you to model and manage relationships between objects, provide caching, perform validation. Yep, ModelGlue sits in front of these bits and brings them together, however the key point is that it doesn't *tie* them together. If you've designed things correctly your ModelGlue controllers are very thin and are delegating most of the heavy lifting to services that you've defined in ColdSpring. Cheers, Chris On 16 September 2010 08:01, Mr. Zeph <[email protected]> wrote: > For as excellent as the docs are, I was finding that I had a hard time > following some things. It turns out that it helps to have a small bit of OOP > knowledge. I thought I understood the basics, components, etc, but I decided > to head over here anyway: > > http://www.objectorientedcoldfusion.org/ > > Man oh man! So many mysteries and half-understood concepts came to light. I > knew it all, but without great clarity. Whoever wrote those articles is a > hero. > > So now a question of terminology: is a "bean" a "class", a "component"? > > If so, that would make ColdSpring a massive object factory, right? > > And the various ORMs are really just database abstraction functions. > > And MG's job is to pull all of this together. > > Is that about right? > > Forgive the newbishness. I'd rather make a fool of myself on the basics > now, than a screwup when it counts. > > Thanks. > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > 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]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog 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
