Note that LightWire does not implement AOP so Peter's comparison is
not entirely a fair one (and this is a common issue that crops up in
comparisons between ColdSpring and LightWire - ColdSpring does a *lot*
more than LightWire so it's pretty pointless trying to directly
compare performance).

Also, as others have noted, if you have an existing UDF or CFC method,
you can easily add it to another CFC by assignment. You only need the
CFFILE/CFINCLUDE trick when you are dynamically generating new
functions to add to your application (as is down by Transfer ORM,
ColdSpring, Closures for CFMX and many other projects - in fact, even
Fusebox uses CFFILE/CFINCLUDE to manage "compilation" of XML to CFML).

On 10/22/07, henry ho <[EMAIL PROTECTED]> wrote:
> 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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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

Reply via email to