> > Your not a geek. Nope, not at all. ;)
Me?! Certainly not. My way of thinking was that I'd put the initial checks specific to our core > system (this one is a mini app running off the back of the core) within a > CFC and call it from the application.cfc. That CFC would sit in a location > which is mapped and accessible to all the other apps if we decide to repoint > them. Yeh, I'd go with that. Not overkill at all and good thinking. If you also have mini app specific checks, you could extend the 'global' cfc too. And apologies for souding like a patronising git, I misread you as not having used cfcs in an app before ;) Dominic On 08/04/2008, Gerald Guido <[EMAIL PROTECTED]> wrote: > > @ Dominic > > > >> with the bounty of joyous learning that awaits you > > > Your not a geek. Nope, not at all. ;) > > @James > > Actually your first example is a perfect example for using a cfc. > > I have been in the same boat over the last year or so, Tying to apply OO > principles to a 1400 page intranet that dates back to CF 4. > > The first question I ask is "am I going to use this again?" The first > principle(s) of OO is Encapsulation and/or DRY. > > The process learning OO can be very intimidating at first. I would > recommend > taking a look at this presentation from the folks at Netobjectives as a > starter. > > http://www.netobjectives.com/streamzines/EncapsulateThat/player.html > > This is also very helpful in getting your head around the basics of OO: > > > http://www.netobjectives.com/files/Encapsulation_First_Principle_Object_Oriented_Design.pdf > > As is The Net Objectives Pattern Repository. Design patterns can be > dificult > to get your head around at first. This helps explain Design patterns in > simple, concrete terms that allows you to see how they are used to solve > problems with out getting into a lot of theory. > > http://www.netobjectivesrepository.com/< > http://www.netobjectivesrepository.com/TheFacadePattern> > > And no, I don't know them or have any interest in the company. I just ran > into them on Brian Kotek's blog and recognized it as an excellent > resource. > > HTH > G > -- > "Education is a progressive discovery of our own ignorance." > - Will Durant > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302937 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

