Hey totally agree with you !

It is too bad not to be able to define my own fully customized forms
within a view,
operate over them in a controller but still need to have a necessary
relation to a database model !

Logic should be defined in a controller and presentation in a view.

Daniel

On Mon, Nov 10, 2008 at 2:23 PM, billf <[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> I know that there is a patch related to custom views in the pipeline
> but this proposal is another step on from that.
>
> I am proposing an additional approach that enables those things that
> (I consider) are view-related to be moved from the model and
> controller to the view.  In addition, it provides separation of html
> form from model related logic such as validation and db updating.
>
> There are still some areas to be covered but I have written a page
> that, hopefully, explains the ideas at
>
> http://www.wellbehavedsystems.co.uk/web2py/examples/mvc.html
>
> All comments gratefully accepted.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to