I like the ability to prepare forms inside controllers. This really
makes difference from Rails, for e.g. And you get much cleaner View
code.

In controller you build your form and form processing code.
In view you place your form inside HTML as single {{=form}} statement
and glue javascript etc. So rationale behind MVC is preserved, but
with boundaries slightly shifted.

I personally prefer to build forms and menus in controller where you
have clean Python code, access to all functions, modules etc.
--~--~---------~--~----~------------~-------~--~----~
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