Josh, You can find a few best practices/gudieliens here: http://www.dintenfass.com/cfcbestpractices/. Nathan kindly put these together based on threads/discussions on the CFCzone mailing list (http://www.cfczone.org/).
Cheers Greg On Sun, 31 Oct 2004 21:25:52 -0500, JT News <[EMAIL PROTECTED]> wrote: > Joe, > > This is pretty interesting, the init function and different ways of > calling CFCs...is there any further documentation on this anywhere? > > I love seeing new ways to do things. This matches better what I have > used in other languages. > > oh and PS, I tried your link in the footer > (http://clearsoftware.net/clear/?template=downloads.jComponents) and > got an HTTP 403 Forbidden error. > > -Josh > > -- > Exciteworks, Inc > Expert Hosting for less! > *Ask for a free 30 day trial!* > http://exciteworks.com > > Plans starting at -$12.95- including MS SQL Server! > > > > > On Sun, 31 Oct 2004 20:23:54 -0500, Joe Rinehart <[EMAIL PROTECTED]> wrote: > > Hey Mike, > > > > I'm with Dave W. - it should probably be the argument to a method. > > One thing a number of us have been doing (some people like it, some > > people don't) is adding a method called "init" that takes > > initialization parameters for a CFC and then returning the cfc itself. > > It acts sort of like a constructor in more truly OOP languages. > > > > Cheers, > > > > Joe > > > > -- > > For Tabs, Trees, and more, use the jComponents: > > http://clearsoftware.net/clear/?template=downloads.jComponents > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183053 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

