On Jul 11, 2011, at 7:08 AM, Anthony wrote:
> All the model files in the root /models folder are run on every request to 
> the application, so any object defined in one of those files will be 
> available application wide. Is that what you're looking for?
>  
> Note, as of version 1.96.1, there are also conditional model files that 
> execute only when a particular controller and/or function is requested. For 
> example, model files in the /models/controller1 folder will only execute when 
> the incoming request is for 'controller1', and model files in the 
> /models/controller1/func1 folder will only execute when the incoming request 
> is for 'controller1/func1'.

On the other hand, if you mean application scope as opposed to, say, request or 
session scope, that's a sort of fuzzy concept here. What are you trying to 
accomplish?

>  
> Anthony
> 
> On Monday, July 11, 2011 9:59:06 AM UTC-4, David J wrote:
> Is there place to specify a global object that runs when the application 
> runs?
> Like application scope?
> 
> Thanks.
> 
> 


Reply via email to