I'm creating an API (if you can call it that) for one of our applications. It's nothing big or fancy, actually just 1 cfc with 1 method in it that's going to be a front-facing component for AJAX calls to hit. All it's going to do is take an ID, call our main cfc to do some processing, then return the results.
My question is, is it better to have my API cfc just extend the main component, or should create the connection to the main component in the API cfc? What is the "standard" or preferred method for doing this? Thanks, Eric http://www.cfgears.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm