Skip to Content
Web Application Architecture: Principles, Protocols and Practices, 2nd Edition
book

Web Application Architecture: Principles, Protocols and Practices, 2nd Edition

by Leon Shklar, Rich Rosen
May 2009
Intermediate to advanced
440 pages
13h 23m
English
Wiley
Content preview from Web Application Architecture: Principles, Protocols and Practices, 2nd Edition

Chapter 8. Active Browser Pages: From JavaScript to AJAX

IN THIS CHAPTER

  • JavaScript

  • Cascading Style Sheets (CSS)

  • Dynamic HTML (DHTML)

  • AJAX

  • Case study: Five-star-rating widget

OBJECTIVES

  • Review the evolution of dynamic page presentation techniques.

  • Consider the limited options available for dynamic manipulation of page content before the advent of JavaScript.

  • Illustrate how JavaScript is used to exercise programmatic control over web page presentation.

  • Present an overview of CSS, with an emphasis on using it to facilitate dynamic presentation.

  • Discuss DHTML, showing how it can be used to modify page content dynamically and to perform client-side validation.

  • Introduce AJAX and discuss how it enhances the end-user experience.

  • Show how remote content injection and validation are accomplished using AJAX-based techniques.

  • Demonstrate the advantages of toolkits for enhancing productivity and eliminating cross-browser incompatibilities.

  • Use a case study to illustrate the concepts.

Markup languages, while very powerful, have their limitations. They provide formatting instructions for the static rendering of content. HTML, especially in combination with CSS, makes it possible to control page layout, combine text with graphics, and support minimal interactive capabilities through links and forms. HTTP servers transmit responses whose bodies contain HTML documents, and browsers receive these responses and render the documents.

The problem is that the presentation is static: HTML does not provide a mechanism ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Web Application Security, 2nd Edition

Web Application Security, 2nd Edition

Andrew Hoffman

Publisher Resources

ISBN: 9780470518601Purchase book