Look at Seans excellent rules .. http://www.corfield.org/coldfusion/codingStandards.htm
WG > -----Original Message----- > From: Phillip Cave [mailto:[EMAIL PROTECTED]] > Sent: 30 January 2003 15:08 > To: CF-Talk > Subject: CFCs - property access best practices > > > Hello everyone, > > I'm trying to get a feeling for what people are doing with cfc's out there > in the real world. Are people accessing properties directly in their cfc's > as in: > > someObject.firstName = "Phillip" > > <cfoutput> > #someObject.firstName# > </cfoutput> > > Or, are people actually taking the time to create "getters" and "setters" > like: > > someObject.setFirstName = "Phillip" > > <cfoutput> > #someObject.getFirstName()# > </cfoutput> > > I want to go the route of "getters" and "setters", but I'm really > interested > as to what is going on with real projects. > > Thanks, > > Phillip > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

