Hey guys i've just committed the first part of the RESTful API support in PHP.

Using this code base, the open social compliance test is already fully running ok, apart from the lacking support of HTTP error code parsing in the features javascript (i expect this will probably be made soon by someone?) and supports all the features the current java implementation has.

No existing deployments will break when you update, the default config is to use the old format, which hasn't changed and is untouched by this.

To play with the new code: edit your container.js set useRestful : true and set the social data path to /social/rest.

To support REST i've had to change some interfaces and the way the data handlers are called. Instead of the old single point of entry i went (back) to 3 SPI's (will be 4 soon when we add messages), see php/ src/socialrest/opensocial for the interface definitions and socialrest/ samplecontainer for example implementations.

Once i have a bit of time left (tomorrow will be filled with meetings, so probably tuesday) i'll also see about writing some Partuza REST style classes so i have some real test data to try this out with, will keep ya'll posted!

        -- Chris

Reply via email to