Once a basic understanding of the various request types is discussed, the book moves on to provide in-depth examples of how and when to use Ajax in a web site or web application. Different data transmission formats, including plain text, HTML, XML, and JSON are discussed for their advantages and disadvantages. Also included is a discussion on web services and how they may be used to perform Ajax techniques. Next, more complex topics are covered. A chapter introducing a request management framework explores how to manage all of the requests inside of an Ajax application. Ajax debugging techniques are also discussed.
The last part of the book walks through the creation of two full-fledged Ajax web applications. The first, FooReader.NET, is an Ajax-powered RSS reader. The second, called AjaxMail, is an Ajax-enabled email system. Both of these applications incorporate many of the techniques discussed throughout the book.
Professional Ajax 2nd edition adds nearly 200 pages of new and expanded coverage compared to the first edition. Some of the new topics covered here include:
And of course the Second Edition retains and updates the core first edition content including:
- the range of request brokers (including the hidden frame technique, iframes, and XMLHttp) and explains when one should be used over another
- different Ajax techniques and patterns for executing client-server communication
- Ajax patterns including predictive fetch, page preloading, submission throttling, incremental field and form validation, periodic refresh, multi-stage download and more
- Syndication with RSS, Atom, and XParser
- JSON and creating an autosuggest textbox example
- web site widgets for a news ticker, weather information, web search, and site search
- Ajax Frameworks JSpan, DWR, and Ajax.NET Professional
- A Web-based RSS/Atom aggregator case study
- An AjaxMail case study