Look at some AOP framework for CF, and you'll find out. Coldspring - http://www.coldspringframework.org/ : From what I saw in the code, they use CFFILE to generate the cfm and CFINCLUDE it. They called it "dynamic compilation" - http://www.pbell.com/index.cfm/2006/7/3/How-ColdSpring-Implements-AOP-using-a-Decorator
LightWire - http://lightwire.riaforge.org/ : Don't know how they did it, but they claimed their way is more efficient. Author of this project is Peter Bell, the owner of the blog posted abouve. Henry >Is it possible to programmatically add/update functions to an instantiated >CFC? > >I've made one attempt to add one by calling the getMetaData function, but >nothing I added to the meta data seemed to update the object's method list. > >Is there another way to go about doing this, or am I on the right track? > >Jonathon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4