Log in

No account? Create an account
LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

flat vs XML-RPC [Dec. 21st, 2003|04:23 pm]
LiveJournal Client Discussions


LJKit presently uses the flat interface of the client server protocol. Since it was written there are new tools available that have caused me to consider using the XML-RPC interface instead.

Can anyone think of a compelling reason why I should or should not make the switch?

[User Picture]From: hober
2003-12-21 01:46 pm (UTC)
Your current code already works.
(Reply) (Thread)
[User Picture]From: quirrc
2003-12-21 02:00 pm (UTC)
LJ xml-rpc protocol is different only in that it allows multiline input in console.
(Reply) (Thread)
[User Picture]From: lordindra
2003-12-21 02:05 pm (UTC)
Well, other blogging software offers an XML-RPC interface. Switching to that would allow you to more easily modify your software to support other blogging programs such as Moveable Type, whereas the flat interface you are stuck with LiveJournal. That would be the biggest argument in favor of a switch. It is also a bit easier to deal with... I had tried the flat interface but switched to the XML-RPC interface and found it a lot simpler.

Also, XML-RPC would be useful to get some experience on, its an emerging technology that appears to actually be taking off and going somewhere. Having experience working with it would definitely help in the future. And being a fork of the early development of SOAP, it would also prepare you somewhat to working on heavier duty web services that employ SOAP.
(Reply) (Thread)
[User Picture]From: kumokasumi
2003-12-21 04:07 pm (UTC)
Inertia. Don't bother; why would you want to at all?

As far as experience with XML-RPC... if there's a library available for your programming language, and I promise you there is, it'll take maybe five minutes to adjust to the API and run with it. It's really simple stuff. If you want to recode to XML-RPC to avoid extra code for the flat interface when you expand to other tools... just do it when you want to expand to other tools.
(Reply) (Parent) (Thread)