Using the common code in the controller as a model substitute?
There goes the MVC separation.
And the other models still get executed.

I think AchipA means execute one model only.
The problem is that models are executed before controllers (aren't
they?), but then this points back to using ifs in models as suggested
by Massimo.

Let's suppose we change that.
Where do you keep common model code?
common = used by all ctls, except those with a name
In a reserved model whose name can not be used as a controller?
runs if no model named as request.controller
newbie (and everybody else) has to think harder how to split models.

Not pro/against anything yet, just thinking aloud.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to