Book Image

JavaScript JSON Cookbook

By : Ray Rischpater, Brian Ritchie, Ray Rischpater
Book Image

JavaScript JSON Cookbook

By: Ray Rischpater, Brian Ritchie, Ray Rischpater

Overview of this book

Table of Contents (17 chapters)
JavaScript JSON Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


AJAX is a set of web development techniques used on the client side of web development to create asynchronous web applications—web pages that can fetch their content from different servers, once the base content has been loaded. The "X" in AJAX stands for XML, but today's AJAX applications typically use JSON to encapsulate data between the client and server.

The underpinning components of AJAX are actually quite old, dating back to an ActiveX component in Internet Explorer introduced by Microsoft back in 1998.

However, the technique really gained widespread traction by 2005, when Jesse Garrett wrote his article titled Ajax: A New Approach to Web Applications. In April of 2006, the World Wide Web Consortium released the first draft standard for the XMLHttpRequest object, which is the underlying object powering all of today's AJAX applications in modern browsers.

In this chapter, we'll build a simple AJAX application that returns the latitude and longitude of an amateur radio station...