[Ovirt-devel] OVirt public API

Michael DeHaan mdehaan at redhat.com
Thu Jul 17 16:02:18 UTC 2008


Daniel P. Berrange wrote:
> On Thu, Jul 17, 2008 at 05:14:37PM +0200, Thomas von Steiger wrote:
>   
>> On Jul 16, 2008, at 11:16 PM, David Lutterkort wrote:
>>
>>     
>>> On Wed, 2008-07-16 at 21:21 +0100, Daniel P. Berrange wrote:
>>>       
>>>> I've no idea how you're anticipating doing the server side coding for
>>>> the API, but if there was a way todo it such that the Ruby impl of
>>>> the APIs didn't have any direct knowledge of REST, we could add in
>>>> other API styles later.
>>>>         
>>> The nice thing about REST is that it's very well supported in Rails,  
>>> to
>>> the point that exposing things through REST is as simple as doing
>>> traditional WUI responses (actually simpler, since you don't have to
>>> worry about those pesky views)
>>>       
>> Definitve interesting discussion!
>>
>> XMLRPC  or/and RESTful i found this is a good solution:
>>
>> http://md314159265.wordpress.com/2006/10/30/comparison-of-rest-vs-xml-rpc/
>>     
>
> Frankly that's a rather dubious article, eg to quote 
>   
>   "REST is an HTTP based protocol. Whereas XML-RPC is XML based."
>
> What network protocol exactly does the author think the XML is being sent
> over ?!?!? Does he really think you can't send XML over HTTP ? Or another
>   

That sentence is correct. REST does not specify XML. It has zero defined 
protocol for the data other
than that it uses some set of HTTP error codes and operations.





More information about the ovirt-devel mailing list