On Saturday, May 12, 2012 10:51:59 AM UTC-4, Bruce Wade wrote:
>
> I am starting to think the design loading everything in models with every 
> request, all though makes for rapid development isn't a very good design. 
> Maybe for common settings in witch case the folder shouldn't be called 
> models. 


Note, if you have some models that are needed only for particular 
controllers or functions, you can execute them conditionally based on the 
controller (and optionally the function) by using sub-folders, as described 
here: http://web2py.com/books/default/chapter/29/4#Workflow. Otherwise, you 
can put them in modules and import them.

Anthony

Reply via email to