On Sun, Jun 15, 2008 at 4:11 PM, Chris Chabot <[EMAIL PROTECTED]> wrote: > 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!
Thanks! On first glance it looks nice and clean and provides by *Service and *Handler levels for plugging in, which is what I need. I'm about to take a much closer look. What do you have in mind for the AtomPub side of things? Are you planning to use this new framework + Abdera just for parsing/generating Atom XML? - Dave

