Hey,

I've just committed a first version of the REST EntityStore, and the 
REST serverside (started by Niclas). It is entirely based on 
Restlet(.org) which is a rather well-designed API.

The server can now present a list of entities for a specific type as 
HTML (/entity/<type>/), and then a specific entity as HTML 
(/entity/<type>/<id>.html) including a form to update the values of 
properties, or as RDF (/entity/<type>/<id>.rdf) with 
props/assocs/manyassocs included.

On the client side, there's a REST EntityStore which uses the 
RDF-version of the server to access individual entities. Currently only 
loading works, but navigating references works (i.e. get entity 1, and 
then navigate associations). Everything has been prepared for 
lastmodified+version handling for caching and conflict detection, and if 
you access it from a web browser you can actually see that the browser 
is caching the state properly!

/Rickard

ps. Now off for my wedding reception :-) Same day as the Olympic games 
starts, so the turnout should be tremendous!

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to