The "this" vs. "variables" argument is ColdFusion's version of the old "public" vs. "private" members' argument of Java and other object oriented syntaxes.
OOP purists tend to advocate an all private/variables methodology. It encapsulates the logic more completely. But I notice several Java classes that do not completely encapsulate all their members. So, my take is that it's up to the developer to decide. There are trade offs either way, and if you make a well thought out choice one way or the other based on your requirements you are not doing anything wrong. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning ....-----Original Message----- ....From: Kerry [mailto:[EMAIL PROTECTED] ....Sent: Friday, April 01, 2005 6:26 AM ....To: CF-Talk ....Subject: RE: Use THIS scope or not? .... ....abstracted from the user: you dont call application.cfc ....play book: way of doing something .... ....-----Original Message----- ....From: Mike Kear [mailto:[EMAIL PROTECTED] ....Sent: 01 April 2005 15:12 ....To: CF-Talk ....Subject: Re: Use THIS scope or not? .... .... ....Thanks for your response Michael. I have seen endless discussion of ....the "this" scope for months. .... ....I wrote the question I did, because I am confused. Use "this" or ....not? I've read all that stuff, and now I dont know what to do. .... ....What does "... abstracted from the user thus require a different play ....book." mean? What's abstracting mean in this context? What's a "play ....book"? .... .... ....Cheers ....Mike Kear ....Windsor, NSW, Australia ....Certified Advanced ColdFusion Developer ....AFP Webworks ....http://afpwebworks.com ....ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month .... .... ....On Apr 1, 2005 11:27 PM, Michael T. Tangorre <[EMAIL PROTECTED]> ....wrote: .... ....> Mike, ....> ....> This exact question was disucssed earlier this week, check the ....archives. ....> Application.cfc is an exception to the CFC best practices as a lot of ....its ....> functionality are abstracted from the user thus require a different ....play ....> book. ....> ....> Mike .... .... .... .... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201178 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

