I like the appProxy.cfc, but take a step further an put all those constants in an xml file that appProxy can parse. That way whoever is deploying your app or managing the server (even if its you) won't have to mess around with cf code. Then you can have seperate xml files for your different deployments but a single build or the application.
-Adam On 7/8/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote: > I suppose, depending on the needs of the specific application you could go > either way. > > If your Application.cfc's all inherited from a specific > ApplicationProxy.cfcthen you could make global changes easily without > being forced to change the > Application.cfc in your root. But, if you have one Application.cfc that > needs to be the parent of all of them, having your proxy inherit from it > would also make sense. > > But since I was working from memory I'm glad I got close... and thanks for > the correction. > > Laterz, > J > > On 7/8/05, Sean Corfield <[EMAIL PROTECTED]> wrote: > > > > On 7/8/05, Jared Rypka-Hauer - CMG, LLC <[EMAIL PROTECTED]> wrote: > > > Or, you could do what Sean Corfield blogged about a while ago: > > > > > > /appProxy.cfc > > > /Application.cfc extends="appProxy" > > > /admin/Application.cfc extends="appProxy" > > > > Almost... Check my blog: > > > > > > http://corfield.org/blog/index.cfm?do=blog.entry&entry=C8AF0DA4-0E78-FC9E-6975A16624A1E3C1 > > > > /Application.cfc > > /AppProxy.cfc extends="Application" > > /admin/Application.cfc extends="AppProxy" > > > > And don't forget to call super() as appropriate in any methods you > > override (in admin.Application). > > -- > > Sean A Corfield -- http://corfield.org/ > > Team Fusebox -- http://fusebox.org/ > > Got Gmail? -- I have 50, yes 50, invites to give away! > > > > "If you're not annoying somebody, you're not really alive." > > -- Margaret Atwood > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211481 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54