Jump to ratings and reviews
Rate this book

Professional Ajax

Rate this book
Professional Ajax 2nd Edition provides a developer-level tutorial of Ajax techniques, patterns, and use cases. The book begins by exploring the roots of Ajax, covering how the evolution of the web and new technologies directly led to the development of Ajax techniques. A detailed discussion of how frames, JavaScript, cookies, XML, and XMLHttp requests (XHR) related to Ajax is included. After this introduction, the book moves on to cover the implementation of specific Ajax techniques. Request brokers such as hidden frames, dynamic iframes, and XHR are compared and contrasted, explaining when one method should be used over another. To make this discussion clearer, a brief overview of HTTP requests and responses is included.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 is written for Web application developers looking to enhance the usability of their web sites and web applications and intermediate JavaScript developers looking to further understand the language. Readers should have familiarity with XML, XSLT, Web Services, PHP or C#, HTML, CSS. This book is not aimed at beginners without a basic understanding of the aforementioned technologies. Also, a good understanding of JavaScript is vitally important to understanding this book. Those readers without such knowledge should instead refer to books such as Beginning JavaScript, Second Edition (Wrox, 2004, ISBN: 978-0-7645-5587-9) and Professional JavaScript for Web Developers (Wrox, 2005, ISBN: 978-0-7645-7908-0).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: Ajax Libraries including the Yahoo! Connection Manager, Prototype, and jQueryRequest Management with Priority Queues and the RequestManager ObjectComet push-based web systems and HTTP streamingMaps and Mashups with Geocoding, Google Maps API and Yahoo! Maps APIAjax Debugging with FireBug and Microsoft FiddlerASP.NET AJAX Extensions (formerly code-named Atlas)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 anotherdifferent Ajax techniques and patterns for executing client-server communicationAjax patterns including predictive fetch, page preloading, submission throttling, incremental field and form validation, periodic refresh, multi-stage download and moreSyndication with RSS, Atom, and XParserJSON and creating an autosuggest textbox exampleweb site widgets for a news ticker, weather information, web search, and site searchAjax Frameworks JSpan, DWR, and Ajax.NET ProfessionalA Web-based RSS/Atom aggregator case studyAn AjaxMail case studyThis book is also available as part of the 4-book JavaScript and Ajax Wrox Box (ISBN: 0470227818). This 4-book set includes: Professional JavaScript for Web Developers (ISBN: 0764579088)Professional Ajax 2nd

598 pages, ebook

First published October 1, 2006

8 people are currently reading
97 people want to read

About the author

Nicholas C. Zakas

17 books106 followers
Chinese: 尼古拉斯

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Maintainable JavaScript (O’Reilly, 2012), Professional JavaScript for Web Developers (Wrox, 2012), High Performance JavaScript
(O’Reilly, 2010), and Professional Ajax (Wrox, 2007). Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
14 (17%)
4 stars
26 (31%)
3 stars
25 (30%)
2 stars
12 (14%)
1 star
5 (6%)
Displaying 1 - 8 of 8 reviews
Profile Image for Tim Chase.
30 reviews
March 22, 2009
Ch 1-5 (AJAX): pretty decent, but a wee bit dated
Ch 6 (XML/XSLT/XPath): weird placement and material in an AJAX book
Ch 7 (RSS/Atom): weird placement, but decent
Ch 8 (JSON): not bad, but could have used more
Ch 9 (Comet): weak
Ch 10 (Maps): one of the highlights of the book
Ch 11 (Debugging): a bit dated, but decent
Ch 12-16: feels a bit like random filler

LOTS of bad server-side code with SQL injections all over the place. They're mentioned in an off-hand paragraph towards the beginning of the book, but the abundance in the text makes them hard to catch if you don't know what you're doing. Not a text I'd let AJAX-beginners learn from.
Profile Image for Miroslav.
8 reviews2 followers
August 30, 2010
This is the first "paper" book I read about Ajax.

What I think?
Well, it is not bad as a first read for a beginner, but there are some better books.

What I don't like about it is that it doesn't put a good programming style, which may confuse and build bad programming practices on the readers.
2 reviews
December 4, 2007
Make web applications like desktop application (wow that is cool application)

Aku ada softcopy-nya, kalo pada mo baca ntar aku kasih dech atau ntar aku kasih linknya buat download sendiri...(ho....ho...)
Displaying 1 - 8 of 8 reviews

Can't find what you're looking for?

Get help and learn more about the design.