I used to use Backbone.js as an easy MVC framework which have build-in routing support. Now I have moved and currently using Agility.js which doesn’t routing support. So my question is, is there any alternative to Backbones.js’s routing?
For reference on why I need this is because my “style” of writing is a one-page website that query the server for information.
I’ve faced the same question just some weeks ago and wrote “Simrou”, a very basic framework that does nothing but this kind of routing (hash-based). You can define the routes in Backbone’s own style and then attach action handlers to GET, POST, PUT etc. requests (GET is basically a clicked link, POST etc. can be triggered by forms).
https://github.com/buero-fuer-ideen/Simrou