Egils said the following on 06/19/2009 11:26 AM: > I like(d) using Application Scope Variables in non-Mach-II for > variables that almost never changed for application like data source > name, help desk Email address, etc. Applications I had to work so far > were initially developed prior "CFC" times and I pretty much used > "application.cfm" file to set application scope variables if they did > not exist. > http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/FAQLoadingApplicationVariables
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/UsingScopesInMachII > Now I have luxury of developing new applications and I plan to use > Mach-II framework. I was wondering if someone could explain where is > the best place to define and set application scope variables when > using Mach-II framework, or what should I be using instead and why. > > I was considering to put that in OnApplicationStart() function within > application.cfc file but somewhere I saw cautionary note not to mess > with OnApplicationStart() in Mach-II. http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/wiki/UsingTheBootstrapper HTH, .Peter P.s. I love it when I can give answers that consist of links to documentation ;-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ -~----------~----~----~----~------~----~------~--~---
