[web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Johann Spies
The thread in this mailing list with the subject "*model less apps (a blog example)" *and some other remarks about using model-less applications for better speed and memory usage is the background of this email.I would be glad if the guidelines (not necessarily recipes) on this can become part of

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Bruno Rocha
Massimo and Mariano are developing a conditional model_map, so you will be able to choose which model files to run for each requested controller, it will be a very good add to web2py. Maybe it will be included only in web2py 2.0. I still think we need a model-less approach using modules, and it n

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Johann Spies
On 27 February 2012 10:49, Bruno Rocha wrote: > Massimo and Mariano are developing a conditional model_map, so you will be > able to choose which model files to run for each requested controller, it > will be a very good add to web2py. > > Maybe it will be included only in web2py 2.0. > > Good ne

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread pbreit
I feel like if I'm going to try and learn model-less app development, it's time to re-evaluate other frameworks.

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Bruno Rocha
On Mon, Feb 27, 2012 at 5:31 PM, pbreit wrote: > I feel like if I'm going to try and learn model-less app development, it's > time to re-evaluate other frameworks. I do not agree, web2py has a lot of features, executed "models" and global scope are not the only good feature of web2py, we can ha

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Anthony
Also, keep in mind that "model-less" can mean many things. It doesn't necessarily entail the highly class-based approach you see in Bruno's Movuca. It could mean simply moving some standard table definitions from model files into functions in modules. In fact, I think Bruno's class-based design

Re: [web2py] Request for some formal guidelines on models in modules

2012-02-27 Thread Johann Spies
On 28 February 2012 00:25, Anthony wrote: > Also, keep in mind that "model-less" can mean many things. It doesn't > necessarily entail the highly class-based approach you see in Bruno's > Movuca. It could mean simply moving some standard table definitions from > model files into functions in modu