My experience has been thinking i only have a few objects so it's not
really worth the effort of building a factory.  But i built one anyway
for the experience.  But when i look at that first OOP project now, a
year later, i see my site which was originally going to have only 10
objects now has more than 50. I'm REALLY glad i built the factory now!

Once you see how great this OOP thing is,  you start bolting on
applications like there's no tomorrow, and complexity starts coming
looking for you.

When you think you are only going to have a few objects,  I reckon for
most cases, that's only because you have missed something.  And you're
going to get more complexity anyway.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month


On 12/12/06, Judith Dinowitz <[EMAIL PROTECTED]> wrote:
> >> I'm going to look for some decent example of a objectFactory and do
> >> some testing to see if there is a performance hit.
> >
> >That sounds like a great idea. Here is an objectFactory to look at and
> >compare with:
> >http://www.phillnacelli.net/blog/index.cfm/2006/11/21/ObjectFactory-Explained
> >
> >Please let us know what you find.
> >
> >-Aaron
> Well, as I believe Chris Scott explained in his article "ColdSpring 
> Fundamentals" (FAQU 2), object factories really make a difference when your 
> application gets highly complex and you start having many more objects to 
> initialize with dependencies...  That's what ColdSpring tries to do, to 
> manage the objects for you. If you've only got 8 or 9 objects, then maybe an 
> object factory is not for you.
>
> Judith
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to