Proxy generation should happen once per class, not once per instance,
but I'm not 100% sure of that.  Obviously instantiation is per
instance, but actually creating and writing the dynamic CFC should be
a one-shot deal.  As such, the performance overhead shouldn't
significantly more with CS AOP compared with CS sans AOP, at least
once the app gets going.

Of course, as you point out, there are already some inherent
performance issues with using CS, regardless of AOP (and really CFC
instantiation in general).  The only way you're going to be able to
tell for sure is to write up some example code and do performance
testing on it.

cheers,
barneyb

On 10/4/07, henry ho <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I understand that Coldspring is not designed for Transient BO, but I need to 
> do some AOP on mine to control access privilege.
>
> Looking through some of the source code, seems like doing AOP is slow enough 
> because of the IO required to write the actual proxy cfc.  Together with the 
> performance penalty we get when we use Coldspring singleton=false, will this 
> be a nightmare?
>
> I heard of Lightware as a better IoC for Transient BO, but it has no AOP...
>
> Any idea how to do AOP on Transient BO efficiently with or without ColdSpring?
>
> Thanks,
> Henry
>


-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:290241
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