I've been experimenting with and researching javascript clients for RESTful web services. Just about everything I've seen seems to be limited to the recreating model definitions in the client and doing CRUD on simple (non-related) models.
What I'm Looking For
What I've Tried
Basic Goal
Another way of saying it:
Is there a full featured javascript REST client that someone can point me towards. Thanks.
A few links you most likely want to look at:
Alternative URL for Backbonejs.org: http://documentcloud.github.com/backbone/
As you may know, Backbone creates Objects like Collections and Models based on your data.
Relational mapping: https://github.com/PaulUithol/Backbone-relational/
If you want to have relational data mapping in Backbone, follow the link above
JSON Schema Validator: https://github.com/garycourt/JSV
this is handy if you're worried about making sure you adhere to a certain JSON Schema, you can extend Backbone.js to validate a model client-side by overriding the validate
method.
Check out my Javascript JSON-Hyper-Schema client. It dynamically builds an HTML client app using Angular, by parsing the Schema provided at a given resources endpoint with the OPTIONS method.
https://github.com/bpanahij/passportedu_schema/tree/master/client
I have been working on a HATEOAS (Hypermedia as the engine of application state) API, using JSON Hyper Schema. You can go to the URL below, browse around, register, login and do some actions.
Check it out, here: http://direct.psprt.com:8081/
I also open sourced my actual API code thus far: https://github.com/bpanahij/passportedu_schema
Feel free to take a look, borrow, and comment.
[JSON Hyper Schema][1] (See Also [JSON-Schema][2])
Try https://github.com/avoidwork/abaaso, I've heard nice things about it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With