On Tuesday, Jul 29, 2003, at 16:10 US/Pacific, Michael T. Tangorre wrote: > For instance... Inside a cfcomponent tag you can have functions > (cffunction) > yet when you publish this as a web service you use > http://someUrl/someDir/componentName.cfc?method=methodName in the > url. Why > not call method function or function method in the CFC....
cffunction lets you define functions both inside and outside components - that's like other languages (i.e., same syntax for functions both inside and outside classes / whatever). Yet almost all OO languages call them 'methods' when they're inside a class / component - even tho' the same syntax defines them. So, it's CF's way of being a bit more consistent with other OO languages' terminology... Sean A Corfield -- http://www.corfield.org/blog/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

