3 ms·
Just wanted to chime in, OData had basically the same idea, however, from personal observation, somehow just didn't really become so popular, maybe because of i
by sixdimensional 8y ago
Just wanted to chime in, OData had basically the same idea, however, from personal observation, somehow just didn't really become so popular, maybe because of its original association with Microsoft, etc. and also partially maybe its implementation. But it was pretty close, and today a lot of products support OData.
I did note recently while reviewing the Microsoft API standard guidelines they share on GitHub [1], that there is a non-OData standard, but OData like recommendation for working with queries across collections, which I find to be pretty good and pretty generic.
It seems like today you can do what you said - a sophisticated RESTish API without the model metadata piece pretty easily - but that metadata piece adds a lot of value.
[1] https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#9-collections https://github.com/Microsoft/api-guidelines/blob/vNext/Guide... - see sections on sorting, filtering etc.
- dragonshed 8y agoThis used to drive me crazy when GraphQL was first announced without a working download, compared to OData and several usable implementations. At the time there was also a compelling js library supporting OData.. [1]. > Breeze.js: Rich Data Management for the JavaScript Client > Client-side querying, caching, dynamic object graphs, change tracking and notification, model validation, batch save, offline support ... [1] https://github.com/breeze/breeze.js https://github.com/breeze/breeze.js Unfortunately I never had the opportunity to use it for a real project. [Edit formatting]
- sixdimensional 8y agoYeah, I have a project recently where GraphQL is actually a good fit conceptually, but I need a complete .NET client/server implementation and the open source ones are just about there, but I was still not confident enough to use it yet. Ugh. That Breeze framework was actually always super impressive. I guess there's a company behind it too. I've implemented some stuff with Telerik Kendo UI and OData (data grids, pivot tables) and it also is still working really quite well.