> <!---// Check if the user is requesting a secure page, force a
> login if they are //--->
> <cfswitch expression="#arguments.thePage#">

This is more or less how Fusebox works, and is a good example of why a 
framework can be helpful in building an application.  Having a separated 
controller layer makes securing sections of an application easier.  Not that 
you need a framework to achieve MVC separation, but it pretty much forces 
you to adopt that methodology.

> I wouldn't use multiple application.cfc's, you usually need only 1 for
> an entire application.  Here are some idea's on how to implement this:

I also agree that for maintainability, it's best to only have one 
Application.cfc or .cfm per application.  Of course there are times when it 
can't be avoided, but IMHO it's worth some refactoring to get to a single 
App.cfc or .cfm.

-- Josh 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282966
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