Peter's a smart guy!  I'm a lurker of his blog -- very interesting stuff
(and admittedly mostly over my head) on application generation, which is one
of my favorite topics!

I'll have to check out LightWire -- I hadn't heard of it before.

Jonathon

-----Original Message-----
From: henry ho [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 22, 2007 2:29 PM
To: CF-Talk
Subject: Re: programmatically add functions to a CFC

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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291790
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to