Skip to Content
Ajax Patterns and Best Practices
book

Ajax Patterns and Best Practices

by Christian Gross
February 2006
Intermediate to advanced
410 pages
11h 44m
English
Apress

Overview

Ajax is taking us into the next generation of web applications. Ajax has broken the client-server barrier by decoupling the client from the server, but an Ajax application still needs a server to extract content from. The most effective use of Ajax and the server requires an understanding of REST, an architectural style used to define Web services.

Ajax Patterns and Best Practices explores dynamic web applications that combine Ajax and REST as a single solution. A major advantage of REST is that, like Ajax, it can be used with today's existing technologies.

This is an ideal book whether or not you have already created an Ajax application. Because the book outlines various patterns and best practices, you can quickly check and verify that you're building an efficient Ajax application.

Inside the book, the patterns will answer the following questions:

  • What is Ajax, and REST, and why do you even care? And if I should care what are some examples of websites that make effective use of Ajax and REST?

  • What are the absolute basics of Ajax and REST and what parts of those basics should I use?

  • How should deal with large amounts of data? Should I cache the data? Should I get the data piece fed to me? (Patterns: Cache Controller, and Infinite Data)

  • People keep telling me that sessions and cookies are bad? Are they bad? What should I do? And while I think about how about generating content for other devices? (Permutations pattern)

  • I want to fix the back-button problem of the HTML browser. (State Navigation pattern)

  • What is the best way to create a mashup? (REST Based Model View Controller pattern)

  • My page has so many links managed by JavaScript, and I am losing control, help me make this more organized! (Decoupled Navigation pattern)

  • I understand that HTTP means I send data to the server, how about the server sending me some data without asking for it? (Persistent Communications pattern)

  • My server side code looks like a mess with tags and code pieces everywhere. How can I organize and make my HTML page behave like a SOA client and use REST based web services? (Content chunking pattern)

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

Ajax Design Patterns

Ajax Design Patterns

Michael Mahemoff
Ajax in Action

Ajax in Action

Darren James, Dave Crane, Eric Pascarello
Ajax on Java

Ajax on Java

Steven Douglas Olson

Publisher Resources

ISBN: 9781590596166Purchase book