Re: Coldbox plugins vs interceptors for user management

2009-10-03 Thread Vineet Mangal

Thanks Glyn. I think interceptors make more sense. I do want this user 
management feature to be reusable across different Coldbox applications. 

I feel that there aren't any CF frameworks or apps out there(that I know of 
anyway) with a solid (role and feature based per website) user management built 
in so figured I will try to put one together.

Cheers,
Vineet


 Interceptors make requests in specific execution points in which it 
 can process, pre-process, post-process and redirect requests, perfect 
 for security! Think of interceptors as listeners to any request in 
 your application.
 
 http://ortus.svnrepository.com/coldbox/trac.
 cgi/wiki/cbInterceptorsGuide
 
 A plug-in could make use of an interceptor or it could be a whole 
 security plug-in that does many things.
 
 I think it really depends on what your tiring to achieve, does it need 
 to be reusable etc. 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326869
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldbox plugins vs interceptors for user management

2009-10-03 Thread s. isaac dealey

 I feel that there aren't any CF frameworks or apps out there(that I
 know of anyway) with a solid (role and feature based per website)
 user management built in so figured I will try to put one together.

You might take a look at the onTap framework's Members onTap 
plugin. 

I wrote an article about the way that security system works a while back
that's been fairly popular
http://ontap.riaforge.org/blog/index.cfm/2008/5/11/Keep-It-Simple


-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 817.385.0301

http://onTap.riaforge.org/blog



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Coldbox plugins vs interceptors for user management

2009-10-02 Thread Glyn Jackson

Interceptors make requests in specific execution points in which it can 
process, pre-process, post-process and redirect requests, perfect for security! 
Think of interceptors as listeners to any request in your application.

http://ortus.svnrepository.com/coldbox/trac.cgi/wiki/cbInterceptorsGuide

A plug-in could make use of an interceptor or it could be a whole security 
plug-in that does many things.

I think it really depends on what your tiring to achieve, does it need to be 
reusable etc. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Coldbox plugins vs interceptors for user management

2009-10-01 Thread Vineet Mangal

Hi,
I am new to Coldbox and come from a Fusebox 4 / Reactor ORM background.

I really like Coldbox and am considering building a role based user management 
system that can be ported from one Coldbox app to another.

In version 3.0 beta of Coldbox sample apps there is a sampleloginapp which uses 
the interceptor design pattern.

I have also seen an example of a login.cfc implemened as a plugin.

My dilemma is that I am not sure which is a better way to approach this 
interceptor or plugins?

Secondly with plugins how do you separate your data layer from business 
managers. Do all CFCs live in the plugins directory?

Any help would be greatly appreciated. Thanks

Regards,
Vineet 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326828
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4