----- Original Message ----- From: "Peter J. Farrell" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, December 15, 2005 5:54 PM
Subject: Re: [CFCDev] Factory vs. Service Locator vs. IoC/DI


Joe Rinehart wrote:

Ben & Dave,

Dave - absolutely fantastic post.

Ben - I'd suggest trying out ColdSpring even before you hit the "point
where I see that maybe something is not the best way to solve a
problem."  It's very easy to use, and it's such a clear collection of
functionality that it illustrates the problem it solves very well. Oh
-  Pedro offers you his protection.

-Joe


I switched a Mach-II project that was then in scoped creep about six
weeks ago to ColdSpring.  I spent a day (some of my weekend I guess)
refactoring code for my plugins, listeners and filters using dependency
injection (Go Dave and Chris!) and also my model.  Managing objects is a
mundane task and hard to maintain.  Until I decided to make the jump, I
never realized how much time I spent creating and maintaining my
objects.  I never want to go back to what I was doing before.

Long live ColdSpring!  BTW Dave, CS is playing really nicely with
Mach-II -- great job on the method injection technique in the plugin!
It's so much better than parsing the XML file.

Just read the PDF that Dave put together and wrap your head around it.
ColdSpring isn't that hard to use (just a bit hard if you try to dig
around the code).  Dave, would it be safe to say it better to use
dependency injection versus constructor-args (unless you need to process
something in your init)?
IMHO, dependency i njection requires to have publicly exposed setters
regards
salvatore

Thanks to Kurt Wiersma for explaining ColdSpring to me (I don't think
Dave's PDF was out yet)...  Sorry for the rambling.

.Peter


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]



__________ Informazione NOD32 1.1324 (20051215) __________

Questo messaggio   stato controllato dal Sistema Antivirus NOD32
http://www.nod32.it





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to