REST API - Javascript or PHP?
With a REST API I can get XML or JSON data. This can be done by for example PHP or Javascript (jQuery).

I want to know the advantages or disadvantages of the different languages. This is what I figured out so far...

 - PHP seems easier than Javascript when data needs to be used on the server side (with PHP) for later.
 - Javascripts run on the client side and does not make a load on the server when fetching data with external URLs, right?

More? Which method should I use and why?
REST API - Javascript or PHP?
===

With a REST API I can get XML or JSON data. This can be done by for example PHP or Javascript (jQuery).

I want to know the advantages or disadvantages of the different languages. This is what I figured out so far...

 - PHP seems easier than Javascript when data needs to be used on the server side (with PHP) for later.
 - Javascripts run on the client side and does not make a load on the server when fetching data with external URLs, right?

More? Which method should I use and why?