[PEPr] Comment on Web Services::Services_RackCloud

From: Date: Wed, 19 May 2010 14:27:46 +0000
Subject: [PEPr] Comment on Web Services::Services_RackCloud
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53482@lists.php.net to get a copy of this message
Nice proposal! I can already see myself using this. While reading your example.php I was wondering if you could abstract the whole "format" thing. I don't really care which format will be used to process my request, I just need the data in a convenient format such as an array or object, but for me it is important that this output data format is consistent regardless of the request format. If someone who cares about the request format decides to change it from json to xml, it would be great if only $rackcloud->setFormat('xml'); could do the trick, instead of having to also change from json_decode() to simplexml (or other xml parsing lib) somewhere else in their code. This is just a suggestion, I don't think this should be considered a blocker for package approval. -- http://pear.php.net/pepr/pepr-proposal-show.php?id=630

« previous php.pear.dev (#53482) next »