I have an opinion about that.

For me the /models folders should be renamed to /scripts since it has
scripts that are executed in every request. Going on this approach I am
only writing model-less (or script-less) apps.

I am now recommending to all of my students and clients to avoid the use of
models and go to class based system in modules, now with thread locals
object and custom_importer it is very easy to create an application without
using any model file.

I encourage you to learn more about O.O in Python, then after that you can
find a better way to create your web2py applications using modules and
classes.


-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to