Format for data exchange?

R

Roy M

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?
 
T

Ted Zlatanov

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top