Chapter 4. AJAX Calls with JSON Data
JSON is considered today to be the most popular data interchange format. In the previous chapter we saw an example using a JSON feed as a data store. In this chapter let's make the data a little more dynamic. HTML, client-side JavaScript, and CSS provide the structural, behavioral, and presentational aspects respectively. Dynamic web development is all about data transfer between two parties, the client and the server. We use programs such as a web server, a database, and a server-side programming language to fetch and store dynamic data. Let's take a look at the process behind the scenes that facilitates successful operations on the data.
When a user opens up a web browser and types http://www.packtpub.com/
, the browser makes a request to the
Internet Service Provider (ISP) to perform a reverse lookup of the IP address by providing the domain name. Once the IP address is retrieved, the request is then forwarded to the machine that owns the IP address...