Models are a very special web2py feature, but they like as scripts running on every request. Now with modules we can improve web2py performance with a more Pythonic code base.
If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!
Models are a very special web2py feature, but they like as scripts running on every request. Now with modules we can improve web2py performance with a more Pythonic code base.
0
adesanto-asman-10337 12 years ago
Hi Bruno, nice shared. But i've a question,
Why In the module you've defined new DAL connection and not pass
existing DAL connection in the __init__ of the module
or maybe using the gluon.current?
replies (1)