advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the sample news ticker application
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Speed Up Your AJAX-based Apps with JSON

Find out how to improve your Web application performance by leveraging AJAX and JSON. In particular, you'll see the advantages of using JSON over XML as a lightweight JavaScript data-interchange format. 


advertisement
SON stands for JavaScript Object Notation and is a lightweight data-interchange format. Because it is text-based it is easy for humans to read and write, and it has a regular syntax that's easy to parse programmatically. JSON is basically a subset of JavaScript and, as you'll see, is even easier to parse than XML.


AJAX stands for Asynchronous JavaScript and XML. It's a Web development technique used to make non-blocking calls to the server using JavaScript. The "and XML" part is likely to fade away as the time goes by. Even though AJAX initially used XML as the format for transferring data, any format will work, including HTML, plain text and—why not—JSON. After all, from a machine viewpoint XML, HTML and JSON are all plain text!

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement