Hello,

For each HTTP request, the model (db.py) is read, and the controller executed.

So, for each HTTP request, first the model is read  (db.py) , and then
the controller executed (instanciated ?) ?

Thanks

Mathias

2012/8/2 Mathias <[email protected]>:
> Hello,
>
> I am trying to make a UML sequence diagram, from a web2py app that I am
> creating.
>
> 1. What is the lifetime / duration of controller objects ? Are they
> instanciated every time you call them ? I guess this is not the case...
>
> 2. In db.py, there is : db = DAL('sqlite://storage.sqlite') >> db.py is read
> every time again, so I guess "db" object is instanciated every time db.py is
> read ?
>
> Thanks for the info.
>
> Mathias
>
> --
>
>
>

-- 



Reply via email to