WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC] Xend XML-RPC Refactoring

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Xend XML-RPC Refactoring
From: Ronald G Minnich <rminnich@xxxxxxxx>
Date: Tue, 31 Jan 2006 14:36:43 -0700
Cc: Jeremy Katz <katzj@xxxxxxxxxx>, Matt Sottile <matt@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, Sean Dague <japh@xxxxxxxxxx>
Delivery-date: Tue, 31 Jan 2006 21:50:17 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43DFD5E6.7090909@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <43DFD5E6.7090909@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)
Anthony Liguori wrote:
Hi,

I wanted to give the list a heads up about something a number of us discussed at the recent XenSummit.

We would like to simplify Xend by utilizing more of the standard Python library and relying on less of our own code. The most obvious thing here is the current S-Expression/HTTP RPC interface. We would like to replace this with XML-RPC using Python's builtin support (xmlrpclib and SimpleXMLRPCServer).

I've got some initial code and more details on the wiki (http://wiki.xensource.com/xenwiki/Xend/XML-RPC). Early estimates are that this would reduce the code in Xend by about 33% (5k slocs). We would also like to standardize this XML-RPC interface so that third-parties write apps to this interface without worrying about massive breakage.


I think moving from s-exp's to XML is a bad move. If you want, use your s-expression library from LANL; it's used worldwide, and has done the job for a lot of projects.

I know of at least one project that moved from XML to s-exp's, using our library, because XML is just plain unwieldy.

thanks

ron

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>