I see, thanks for taking the time to explain, you have been very helpful.

Glyn.

> On Fri, Jul 24, 2009 at 1:36 AM, Glyn Jackson<glyn.jack...@newebia.co.
> uk> wrote:
> > what are the benefits of working this way, am just ignorant having 
> never used it or AOP before in CF. Any docs online you can point me to 
> (I dont know what I would be looking for)
> 
> As the number of CFCs being created / initialized increases, the
> benefits of ColdSpring increase because you don't need all that code
> inside your CFCs ("this could have been all done in the init() method
> or I could have extended the CFC or I could have passed in the 
> details
> from config CFC without ColdSpring"). That means that dependency
> changes can be made without changing your code, including using AOP 
> to
> add logging, security etc etc.
> 
> ColdSpring is one of those tools where you can't really "get" it 
> until
> you've experienced the problem it solves and then it's a real
> lightbulb moment.
> 
> I wasn't sold on IoC / DI tools at first. When I really saw the light
> it was working on a Mach-II application (years ago, at Macromedia) 
> and
> having to deal with complex and ever-growing configuration data. I
> needed a way to separate configuration from code and Mach-II's
> XML-based approach wasn't cutting it. So I rewrote the app using
> Model-Glue 1.0 and an external XML file for configuration data (using
> ChiliBeans, MG1's IoC container). As far as I was concerned, it was
> still just externalizing configuration, albeit object-based
> configuration. As the application grew, the bean factory really
> started to take the load off my hands as it could take care of
> increasing complexity without impact to my code. Then I switched to
> ColdSpring because it was more capable than ChiliBeans and I never
> looked back!
> -- 
> Sean A Corfield -- (904) 302-SEAN
> Railo Technologies US -- http://getrailo.com/
> An Architect's View -- http://corfield.org/
> 
> "If you're not annoying somebody, you're not really alive."
> -- Margaret 
Atwood 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324961
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to