4 ms·
I am partial to AJAJ myself. 0. Sending back JSON allows you to to generate HTML just as easily on the client-side as it does on the server. 1. Makes your back
by martythemaniak 18y ago
I am partial to AJAJ myself.
0. Sending back JSON allows you to to generate HTML just as easily on the client-side as it does on the server.
1. Makes your backend more generic by default, so makes it easier for other apps to use your service (JSON is included in many languages these days)
2. Makes your design a whole lot cleaner
3. Is (generally) less work than dealing with full XML.