Any chance of cfc's implementing built in set/get methods on properties, like c# and the javabean framework?
-- jon mailto:[EMAIL PROTECTED] Thursday, January 30, 2003, 12:19:23 PM, you wrote: SAC> On Thursday, Jan 30, 2003, at 07:17 US/Pacific, webguy wrote: >> Look at Seans excellent rules .. >> http://www.corfield.org/coldfusion/codingStandards.htm SAC> Thanx. Yes, I highly recommend you use getter/setter methods. Ray gave SAC> a good reason but wasn't specific. Here's some more detail: SAC> It may be a simple property today but in the future it might be SAC> calculated or it might be refactored into another CFC: using getter / SAC> setter methods means your changes will be localized (you only have to SAC> change the CFC, not all the code that uses it). SAC> It may be a simple property today but in the future, you might want to SAC> apply validation when you set it (e.g., an age should be a positive SAC> integer). You can add validation logic to the setter - without changing SAC> code that uses the CFC. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

