28
Oct
Php, Javascript, Json & Xml
By
0 Comment

This is just helpful tips to making you web apps run better. When you are sending data to the browser from php & your server use JSON, but when you are sending data to your server from a browser you might get the idea that json would be idea? Wrong, although it will save you 15% data transfered, the overhead from Php decoding the JSON responce is far slower then using a Xml responce. The example below gave a whole 3 seconds difference between the xml vs json decoding.

« Back to my notebook
Next Note > < Previous Note
Comment Pages: 1


esign