GadgetDataServlet is the 'old' wireformat (0.7), we're currently working on the new (0.8) RESTful API support, that work is in /src/ socialrest

Once the rest api is completed, the old socialdata dir will go away

On Jul 3, 2008, at 8:54 PM, Erel Segal wrote:

RestServlet and GadgetDataServlet apparently do similar actions: they get requests for social-network data (about people, personal data or activities) and return responses. There are several noticeable technical differences,
such as:
* RestServlet is used for URLs such as "
http://myserver.com/social/rest/people/...";, "
http://myserver.com//social/rest/activities/...";, "
http://myserver.com//social/rest/appdata/...";, and takes the input from the
URL, while GadgetDataServlet is used for URLs such as "
http://myserver.com//social/data..."; and takes the input from the
$_POST['request'] parameter.


However, I would like to know the functional place of each servlet in the
global picture. Why are they both needed?

I read the excellent documentation by Rajdeep:
http://rajdeep.dua.googlepages.com/shindigPHP-overview-tidy_img.html
but it doesn't relate to RestServlet.

Thanks for the explanation!

Reply via email to