[PEPr] Changes in proposal for Web Services::Services_RackCloud
| From: | Josh Kendall | Date: | Wed, 19 May 2010 15:38:46 +0000 |
| Subject: | [PEPr] Changes in proposal for Web Services::Services_RackCloud | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-53483@lists.php.net to get a copy of this message | ||
Josh Kendall (http://pear.php.net/user/jtkendall) has edited the proposal for Web
Services::Services_RackCloud.
Change comment:
Per suggestions in the comments I've updated the code to allow
Services_RackCloud::setFormat() to accept JSON, XML, Object, and Array as
valid formats. If JSON or XML are used the response will be a string
(useful for variety of projects such as those using Flash as a frontend).
Object returns an object containing an array of objects, and Array returns
a multidimensional array.
The example.phps file has been updated to reference these changes.
I've also updated the comment for Services_RackCloud::setFormat() as it
incorrectly suggested that the format set was the format to be used for
responses and requests, where it's actually only the response format. All
requests are sent as JSON, hence the reason why the JSON extension is still
a required dependency.
Please review the proposal:
http://pear.php.net/pepr/pepr-proposal-show.php?id=630