xmlrpc in javascript
Friday, January 7th 2005
So, there's this publishing system that I've been deeply involved with over the last couple of years, and recently we implemented an XMLRPC backend for putting new articles online. Creating python xmlrpc frontends is ofcoursly tremendously simple, and took next to no time. xmlrpc is really a hassle-free form of communication.
Microsoft support is as some may know, a little hard to come by. I've tried writing VB(Visual Basic) and c# clients with third party libraries, but only half-hearted attempts and I never got it to work at all. Compared to python it was a real nightmare, but I guess the python xmlrpc implementation leaves every other eating dust; it's an unrealistic benchmark.
But the topic of this post is xmlrpc and javascript, so I'll get to the point. It's possible. And it's real simple. Of course, you need a third party library, because IE(Microsoft Internet Explorer) doesn't speak xmlrpc natively, and you need IE on board if you do anything on the internet these days. (And the mozilla xmlrpc implementation is ridiculously complicated).
According to xmlrpc.com, there are three implementations in javascript. I gave all of them a shot, and I really like the one virtual cowboys whipped toghether! After I lured out some bugs (it couldn't handle xmlrpc Faults...), rpc-ing is almost as easy as python. Wow. I wish the cowboys would continue the development, though.
So now I'm busy writing a gmail-inspired publishing frontend to Infoweb, where data handling is client side, no more of those childish http stateless problems.
Proper rich text clients, delivered over http!
I guess there should've been screen shots here.