Sammy - jQuery based RESTful evented framework
github.com
github.com
Edit: Oh I see from the docs, Sammy binds to form submit events ondocumentready and overrides them unless you return false from your route handler. Clever.
It's also nice that it is very reminiscent of Sinatra and Rails routes, being a Rails developer myself. My rails app pretty much just serve as APIs for my front end js driven interfaces. Slick!
Do I need to provide "static" html versions of the data at the appropriate urls? e.g. #/data ==> /data or can google follow the js-only links to get at it?
Ditto the comment on node.js integration. Need to wrap my head around this.
Nice idea. I wonder how this could interact with a nodejs implementation on the server side.
The first thing is that if you are going to run in a browser, I see it as a benefit to have an application where natural navigation "places" have bookmarkable, back buttonable URLs. Sammy makes that easy.
As for the "rest," you don't need to have anything to do with posts and forms and making things rest-ful if you don't want. Sammy ships with a storage plug-in and you can go to town making a state-ful application.
However, if you do want to sup[port book-marks and the back button, you want to give some thought to the relationship between applications state and URLs.