Skip to main content

The Ajax Approach to Browser Scripting

  • Chapter
Beginning XML with DOM and Ajax
  • 578 Accesses

Summary

This chapter introduced the Ajax style of creating XML applications. Ajax uses a combination of XML, the XMLHttpRequest object, JavaScript, XSLT, XHTML, and CSS to create responsive web applications. Because you’d seen the other technologies earlier in the book, I focused on the new XMLHttpRequest object in this chapter.

You saw how to use the XMLHttpRequest object to make server requests. You were able to display a HEAD request and retrieve content from an XML document. You looked at two simple examples—validating a username in a form, and creating an address-book application.

I showed how to use the Sarissa library to create cross-browser code, and I listed some of the other toolkits that may help. I finished by looking at criticisms of Ajax and some ways to address these. I also covered some of the Ajax best practices.

In the next chapter, I’m going to look at a totally different approach to working with XML on the client. You’ll see how to use Flash to load and display XML content.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Sas Jacobs

About this chapter

Cite this chapter

(2006). The Ajax Approach to Browser Scripting. In: Beginning XML with DOM and Ajax. Apress. https://doi.org/10.1007/978-1-4302-0177-9_9

Download citation

Publish with us

Policies and ethics