Search⌘ K

From Web Sites to Web Apps

Explore how web development evolved from loading full pages to dynamic web applications using AJAX. Understand synchronous and asynchronous HTTP requests, the same origin policy, and cross-domain considerations to build responsive user experiences.

The web development models

In a traditional web development scenario, when you click a link or submit a form, your browser sends a request to the server that returns a full new web page tailored to your request. This model is subject to longer load times and limited interactivity.

Another web development model aims to avoid transmitting a whole new page for each user action. Here’s how things work in that model:

  • User actions on the page are
...