With this thinking, we should not generate any HTML tag server side. The DOM exists when there's a HTML page, not only a form.
I may missed something, but, what's the problem with server side generated DOM? Almost every web page is generated server side. Again, I don't see DOM generated server side as a problem. The problem, in my point of view, is coupling FORM object declaration with HTML FORM tag generation. The latter must be done in view, while the former, in controller. On Mon, Sep 8, 2014 at 6:47 PM, Michele Comitini <michele.comit...@gmail.com> wrote: > The approach is correct IMHO, not only for forms. DOM is client's matter and > by the way gives a nice level of abstraction over everchanging DOM > implementations of clients. > What eventually will be extended is the JSON dialect. > There is a little overhead in the JS machinery on the clients that needs to > be adapted and mantained, but it is a smaller issue than that of server side > generated DOM. > I suspect that the approach will be successful even on non-html devices. > > mic > > > > 2014-09-08 21:09 GMT+02:00 Leonel Câmara <leonelcam...@gmail.com>: >> >> My experience is that it's faster on the client side too unless you have a >> pretty good 3G connection (or even better 4G). >> >> That said, the scalability and hardware savings advantage on the server >> side is unquestionable. You don't have to cache pre-rendered HTML and you >> finish requests quicker. >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.