Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javascript clientside routing/pathing library [closed]

I'm in the need for a routing library to handle my paths for a client side js app.

I'm currently using backbone.js, which while great, is not fully featured enough.

I'm looking for a dedicated pathing library that I can replace backbone with (only in terms of pathing, still want to use that for MVC), something with a lot of features.

Thanks

like image 973
Harry Avatar asked Jul 04 '11 00:07

Harry


2 Answers

Not sure what sort of features you are looking for, but I just put up an extremely lightweight JS router that offers the bare minimum to get things going. A lot of the routers I had come across were offering way more features than I was looking for, so I thought this might help fill a void for those looking for something light:

https://github.com/bpeacock/lennonjs

like image 53
Gabe Hayes Avatar answered Sep 23 '22 23:09

Gabe Hayes


There are a number of interesting routing libraries at http://www.microjs.com/#spa

Backbone, and Crossroads (and its accompanying library, Hasher) are both listed there, but you should also check out Director (independent module from the Flatiron framework) and LeviRoutes -- haven't used either but they look pretty promising.

like image 35
Thick Avatar answered Sep 23 '22 23:09

Thick