12. Making Your Pages Dynamic

Effective Web pages are a result of many different factors, including compelling content, good design, and attention to details, such as how fast the page loads. One of the ways to speed up page loads, while still providing the user with an interesting and interactive experience, is to use JavaScript to make individual page elements update within the user’s browser. In other words, instead of your Web server pushing the page experience to the user, the server pushes the script over the Internet. The script then uses the power of the user’s computer to make the page come alive. Pages with scripts like these can be called dynamic pages.

By moving the processing from the server side to the client (user) side, you get ...

Get JavaScript and Ajax for the Web: Visual QuickStart Guide, Seventh Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.