[wp-trac] [WordPress Trac] #23099: Add JSON-RPC support using existing XML-RPC methods

WordPress Trac noreply at wordpress.org
Mon Feb 4 03:19:01 UTC 2013


#23099: Add JSON-RPC support using existing XML-RPC methods
------------------------------------------+------------------
 Reporter:  maxcutler                     |       Owner:
     Type:  feature request               |      Status:  new
 Priority:  normal                        |   Milestone:  3.6
Component:  XML-RPC                       |     Version:  3.5
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |
------------------------------------------+------------------

Comment (by rmccue):

 Replying to [comment:32 maxcutler]:
 > Could you and rmccue put together a proposal for a REST API? I'd love to
 see a full breakdown of the work involved, the design, the testing plan,
 the apps you'll build to verify that it meets real-world needs, and a
 schedule for all of that.

 I'd be happy to draw up a full plan for an API if there's consensus that
 we want it. At the moment I've merely been working on a proof of concept
 so that there's something to push forward.

 The main gripe I have with this patch is that it will leave us supporting
 JSON-RPC far into the future. I'd be more than happy if the filters in
 `serve_request()` go in, as that would allow a plugin to easily add this
 if needed.

 JSON isn't the solution to every problem, and if the problem with
 implementing XML-RPC in other languages lies with the XML parsing (I'd be
 surprised if libxml isn't available in those) then that's something that
 needs to be solved in those languages. Implementing RPC in JSON feels as
 if we're attaching wheels to a boat. It may have some utility, but in
 reality, I don't think it's useful.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23099#comment:36>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list