json

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
RobLoach's picture

Web Services in Drupal 7

Just a quick note that nedjo posted a note about Services module going into core. This would allow use of XML-RPC, JSON, RSS, REST, SOAP and more to be loaded through a common Services API.

A Code Sprint will take place in Boston this coming Friday that will focus on the inclusion of this new Services API.

Read more
silence's picture

Arrays, Serialization, JSON and such....

In the story here, It was finally decided that we will be using JSON for passing the "data" from client to server. As discussed, we'll be storing details in a JS object array in client. Robert had said that it is preferable to convert JS to php on server.

  1. What are the scenarios where serialized JS is prefered over php on server? Basically that answers why we should transfer the data in JS format instead of PHP?
  2. Now, once we have the "data" to transfer, What are the possible ways to transfer this from client to server? Is form POST enough or is thr something else that can be used?
Read more
Subscribe with RSS Syndicate content