guillaumervls / backbone-jsonapi Goto Github PK
View Code? Open in Web Editor NEWBackbone Model & Collection .parse() functions for data from a JSON API (http://jsonapi.org/format/#url-based-json-api)
License: MIT License
Backbone Model & Collection .parse() functions for data from a JSON API (http://jsonapi.org/format/#url-based-json-api)
License: MIT License
Hi,
I'm experiencing problems requiring the library through RequireJS. Am I missing something or it's simply not possible to use otherwise than through Browserify?
In case the latest-commit date doesn't give it away, please note that this library does not support the current 1.0 JSON API nor anything remotely resembling it. The spec has evolved massively since this code was written.
I'm creating this issue to ask the author to place a note at the top of the README to highlight this fact, to save anyone wondering why it doesn't work.
Like in this example :
{
"links": {
"posts.comments": "http://example.com/comments/{posts.comments}"
},
"posts": [{
"id": "1",
"title": "Rails is Omakase",
"links": {
"comments": [ "1", "2", "3", "4" ]
}
}]
}
Hi,
I've been looking for a good way to use a backbone app with a JSON API. It looks like all that would need to happen for sync support is to override the Backbone.sync method. I don't know if you've given any thought to this, but if I hacked at a rudimentary solution, would you be interested in a pull request for it?
Thanks!
Would there be any examples of any usage of backbone-jsonapi?
Hey there! I just wanted to let you know that JSON API has hit RC3, and we'd like client libraries to start implementing it like it was 1.0, as a final check that we're good for 1.0. I wanted to make this issue to let you know!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.