Format for data exchange?

Discussion in 'Perl Misc' started by Roy M, Oct 23, 2008.

  1. Roy M

    Roy M Guest

    Hello all,

    We are using XMLRPC to communicate between servers (cross languages
    with PHP and Java) for many years.

    Seems nowadays better choices would be YAML, JSON or even Google
    protocol buffer?

    Which format your are using, and why?
    Roy M, Oct 23, 2008
    #1
    1. Advertising

  2. Roy M

    Ted Zlatanov Guest

    On Thu, 23 Oct 2008 07:17:44 -0700 (PDT) Roy M <> wrote:

    RM> We are using XMLRPC to communicate between servers (cross languages
    RM> with PHP and Java) for many years.

    RM> Seems nowadays better choices would be YAML, JSON or even Google
    RM> protocol buffer?

    RM> Which format your are using, and why?

    If XML-RPC works, keep using it. You can always switch to XML if you
    must.

    If you need to optimize for speed and your data changes rarely, Google
    protocol buffers are decent.

    Otherwise, JSON can handle almost anything I've thrown at it, as long as
    you're OK with its serialization rules and data types.

    Ted
    Ted Zlatanov, Oct 24, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pat Sinnott
    Replies:
    0
    Views:
    1,247
    Pat Sinnott
    Jul 7, 2003
  2. CV
    Replies:
    1
    Views:
    513
    Natty Gur
    Dec 19, 2003
  3. =?Utf-8?B?VXNoYQ==?=
    Replies:
    1
    Views:
    534
    Rajiv R
    Feb 19, 2004
  4. www.westerncartooncards.ca

    Exchange Links < Western Cartoon Cards > Exchange Links

    www.westerncartooncards.ca, Jul 12, 2004, in forum: HTML
    Replies:
    2
    Views:
    1,213
    Toby Inkster
    Jul 12, 2004
  5. Alessandro Barracco

    matrix: exchange rows + exchange columns

    Alessandro Barracco, Jan 25, 2011, in forum: Ruby
    Replies:
    0
    Views:
    148
    Alessandro Barracco
    Jan 25, 2011
Loading...

Share This Page