logo       

Re: Re: REST: msg#00029

Subject: Re: Re: REST
Nick Whitelegg wrote:
One question: I know little about REST but would it not require clients of
OSM to write more code than if XML-RPC was used? i.e. the client would have
to parse the XML themselves rather than let an XML-RPC library do it for
them? I can see this could be more flexible but for things like login
tokens it seems more work for the client.


Possibly slightly more in static languages, yes, but things like xpath really help. There's also the benefit of flexibility. With XML-RPC, I think you really have no choice but to parse it all behind the scenes. With REST, you can pick out just the bits you want.

Matt's point about being able to build interfaces on the fly with languages like Ruby is why it makes more sense for that kind of language.

There's a full implementation of the flickr API in Python (FlickrClient) that's only about 50 lines of code (including a test method), and never needs updating. That's what we're buying into here. http://www.flickr.com/services/api/

T.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe