great improvement, I am testing right now.

A question that will raise soon is: How do I execute a model on demand? if I
am in /default/foo and want an object defined in /default/bar, how do I
force this model file to run?

--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]



On Sun, May 1, 2011 at 7:30 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> In trunk we have - experimentally - conditional web2py models
>
> 1) models/anything.py (for all controllers)
> 2) models/<c>/anything.py (only forfunction in controller <c>)
> 3) models/<c>/<f>/anything.py (only for function f in controller <c>)
>
> when you can http://..../<c>/<f>
> all models 1 are executed alphabetically, the 2 alphabetically then 3
> alphabetically.
>
> Please help us test that:
> 1) it works
> 2) it works if you bytecode compile the app
> 3) it does not apps that were bytecode compiled with a previous web2py
> version
>
> This should provide a major speedup for those apps with lots of tables
> like ShanaEden.
>
> Massimo
>
>
>
>
>

Reply via email to