3 ms·
There is a proposal for such a standard for json document APIs: https://tools.ietf.org/html/rfc6902 https://tools.ietf.org/html/rfc6902 I'm not sure where this
by bostond 12y ago
There is a proposal for such a standard for json document APIs: https://tools.ietf.org/html/rfc6902 https://tools.ietf.org/html/rfc6902
I'm not sure where this stands in the standards track.
- zkhalique 12y agoI took a look through it, and it seems woefully inadequate for batching "get" requests together. Say I want to get 90 disparate items, shouldn't I be able to batch those into one or two requests? On the server, I may have some cache in the script so I don't have to re-request the same items 90 times. For example I want to get 40 rooms, and for 20 of them, I want to get up to 20 participants in the rooms. My JS code shouldn't have to care about the batching. It should just send out batched requests, and the callbacks should be called. On the client side, we have this: http://platform.qbix.com/guide/patterns http://platform.qbix.com/guide/patterns -- see Q.batcher.factory But on the server side, we've had to implement our own format to get that implemented.