News for hackers. Stuff that matters.
Re:If you have REST, why use XML-RPC? by fragmede on Thursday January 14, 2010 @01:30PM (#1053219)

  but now we're discussing specific implementations, which is a separate issue.
The author states that specific implementations is a separate issue, but it really isn't. You can't ignore that a good implementation will mean that people will actually use your pet mechanism over someone else's. Most people don't want to reinvent the wheel, so they're not going to be writing the lib to handle the wire protocol, they're going to use a library that does what they need.

REST is heavy, and XML-RPC unnecessarily so. Facebook's Thrift (http://incubator.apache.org/thrift/ ) is a lightweight alternative to both.

(That said, REST in Python is fairly easy - http://developer.yahoo.com/python/python-rest.html )

Re:If you have REST, why use XML-RPC? by tjpick on Thursday January 14, 2010 @02:43PM (#1053400)
"Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml."

I have a very hard time believing that is a lightweight alternative to anything.

For REST all you need is an http library.

Re:If you have REST, why use XML-RPC? by fragmede on Friday January 15, 2010 @05:03PM (#1055998)
Ah. The on-wire protocol is what is lightweight. The framework certainly isn't. For simple REST via an http library, how many bytes actually have be encoded before you send it, and be decoded at the other end? (Keeping mind that Thrift originated at Facebook may make the overhead from REST seem more relevant.)