Richard is right, using Ractive.js allows the creation of SPA easily. Much more effective than angular due to a saner template design that limits the number of new attibutes to learn. And the DOM is faster to update by design. The only missing part is the AJAX communication that requires you to use something else such as jquery.
Else I suggest elm see elm-lang.org. 2015-09-15 3:26 GMT+02:00 Richard Vézina <ml.richard.vez...@gmail.com>: > Look on the side of Ractive.js, it is a simple smaller way to get SPA into > web2py without all the overhead that come from Angular.js (which is a > framework) > > Massimo has made an work and progress app to "eventually" replace the > welcome app (I quotted eventually because until know it was only > experiment, but I think Massimo's would like to pick-up Ractive.js and > integrate it as it is the case with jQuery for instance). > > The app I am talking about is available here : > https://github.com/mdipierro/w3 > > I think it is a good start for using Ractive.js inside web2py and try to > implement a SPA style app with web2py relegated to the backend... > > :) > > Richard > > On Sun, Sep 13, 2015 at 9:34 PM, Márcio Almeida < > marciolauriano.alme...@gmail.com> wrote: > >> Hi, I'm trying to create a spa-like application to not reload it whenever >> you change page, I tried example of web2pyslices but >> only charges the index page, the other I did not know how to load ( >> http://www.web2pyslices.com/slice/show/2030/creating-a-single-page-app-with-web2py >> ). >> Has anyone had any experience with this or know how to evolve the example >> of web2pyslices? >> Some solution in web2py? >> I think some will tell me about angularjs etc, okay with it gives, but >> did not want to mix things up, native web2py does it have any way out? >> >> Thanks people. >> >> -- >> 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.