https://bugzilla.wikimedia.org/show_bug.cgi?id=17450

--- Comment #26 from Daniel Kinzler <brightb...@gmail.com> 2010-08-18 07:29:55 
UTC ---
(In reply to comment #25)
> Quick query, why use just XML? It would be nice to be able to get an alternate
> format on request, such as JSON or serialized PHP.

Two reasons: 

1) XMPP supports XML payload - that means I can embed XML natively in XMPP
stanzas. No need for wrapping, escaping or encoding. It will also get parsed
automatically, and is accessible directly in the xmpp client framework. 

2) there are no requests. Everyone gets the same data, this is basically a
multicast setup. Broadcasting everything in all formats would be silly.

That being said: I'm thinking about making an XMPP interface to the API, so
people can send queries and receive answers via XMPP. In that case, supporting
different formats would be an option, though it still seems silly: with XMPP,
XML parsing comes for free, handling any other format adds work and cost.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to