Re: [web2py] web2py SPA(single page application)

2015-09-15 Thread Michele Comitini
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

Re: [web2py] web2py SPA(single page application)

2015-09-15 Thread António Ramos
elm lang is very interesting youtubing right now... 2015-09-15 10:14 GMT+01:00 Michele Comitini : > 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

Re: [web2py] web2py SPA(single page application)

2015-09-14 Thread Richard Vézina
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

[web2py] web2py SPA(single page application)

2015-09-14 Thread Márcio Almeida
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