On Monday, July 11, 2011 9:38:03 AM UTC-4, Francisco Costa wrote: 
>
> Hi, is there any visual chart or text that explain what happens when a 
> page request is made? 
> For my knowledge this is the order: 
>
> - Models 
> - Controller 
> - View 
>
> But what exactly is executed? 
>
> I know if I open a certain page it only executes that controller and 
> view, but it seams that Models are all executed.. 
>
> Is it right to assume that smaller and faster models will enhance 
> web2py performance?

 
Check out http://web2py.com/book/default/chapter/04#Dispatching. You are 
right that smaller/faster models should improve speed a bit, though as 
Massimo has pointed out, as of 1.96.1, we have conditional models that are 
executed only for specific controllers and/or functions.
 
Anthony
 

Reply via email to