In trying to follow all the various discussions, it seems to me that
we could use a concrete problem statement. I've put together an
initial draft, with links to the relevant resources:
http://microformats.org/wiki/rest/json
Hopefully we can converge on a prioritized list of goals/constraints,
as well as compile all the relevant resources in one place. Feel free
to sign up and edit the wiki, though policy decisions are probably
best discussed here on the list.
-- Ernie P.
The goal of the RESTful JSON project is to develop a series of
conventions for:
• URLs
• HTTP methods
• HTTP headers
• JSON fields
that:
• is maximally compatible with existing (RESTful, generic) clients
• enables partial updates
• allows paging and/or partial returns of large datasets
• standardizes linking to related resources
• use of hypermedia (links + context) to manage application state
• does NOT become a full-fledged RPC solution
just a few questions/comments regarding this list of requirements.* R1: what do you mean by compatible? How to evaluate the compatibility? Do you have example of REST clients?
* R2: I think a detailed scenario of partial update would help to understand the consequences of this requirement
* R4+R5: Doesn't the requirement 5 answers to the requirement 4? Use explicit URIs to link resources? Did I misunderstood one of the requirement?
* R5: too vague for me. It could be a list of "RPC patterns" to avoid.
On Sep 12, 2008, at 5:08 PM, Nikunj Mehta wrote:
> Excellent start. Only problem I see is that the methods do not allow
> for searching/querying. If you see GData and OpenSocial, these
> indicate that mere CRUD is not enough; there is also the need for
> CqRUD, where q stands for query.
Good suggestion. I've added "queries":
http://microformats.org/wiki/rest/json#Charter
-enp
I didn't include this in the JSON resources proposal because I considered it
an orthogonal concern. I like separation of concerns, but I guess this group
is pretty ambitious ;).
Thanks,
Kris
----- Original Message -----
From: "Ernest Prabhakar" <ernest.p...@gmail.com>
To: <restfu...@googlegroups.com>
On Sep 12, 2008, at 9:58 PM, Kris Zyp wrote:
> would propose JSONQuery as the basis for the query format for
> RESTful JSON:
I've added JSON Path and Query to the charter:
http://microformats.org/wiki/rest/json#Proposals
Thanks!
-- Ernie P.