ractive does just templating and data binding. nothing else. If you need a 
routing system, use a routing library. One of the best/worst things of 
javascript (node too) is that the world is littered by thousands of small 
little libraries that you can mix and match. There's no clear path, nor a 
clear opinionated "recipe" that puts together the best libraries .... you 
have to choose for yourself.

That being said, if in need of client side routing I leverage crossroads.js

On Tuesday, October 20, 2015 at 5:38:51 AM UTC+2, Rod Watkins wrote:
>
> Hello everyone,
>
> I am hoping some of you who have already been using ractive.js may be able 
> to help me. I'd like to create a single page app. The usual frameworks for 
> doing so, from what I've read, are angular, backbone (+ marionette) and 
> ember. I've studied angular and ember and each seems to be doing way more 
> than I want it to. Let me explain. I hate javascript. I think its an ugly, 
> nigh unreadable language. Python by contrast... oh the beauty. So I would 
> rather not use a js framework that takes over functions I rather have 
> web2py perform. That's why I am attracted to ractive. I understand the 
> value of two-way data-binding and client side views. And that's ractive's 
> game and no more. Besides, its dead simple to use--not at all like angular 
> or ember, as far as I can see.
>
> But that leaves me with a question. Angular/ember/backbone have routing 
> systems. Ractive does not. So how do you handle routing for a single page 
> app from web2py. How have others implemented this with ractive? I am very 
> new to the single page app paradigm and it just isn't clicking for me. By 
> the way, I have tried to study the w3 example from Massimo, but it's not 
> been a lot of help. I think I just need a bit of a walk through. Maybe this 
> could be the start of a new section for the web2py book??
>
> Cheers
> Rod
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to