by O'Reilly Media, Inc.
| Average Rating: |
|
| Sales Rank: | 15711 (lower is better) |
| Price Used: | $27.95 |
| Shipping: | Free Shipping on most orders over $25* |
| Availability: | Usually ships in 24 hours |
| Label: | O'Reilly Media, Inc. |
| Pages: | 980 |
| Binding: | Paperback |
| Publication Date: | 2008-01-25 |
| Published By: | O'Reilly Media, Inc. |
| ASIN: | 0596528388 |
| Category: | Book |
Authors
Editorial Reviews and Product Descriptions
Product Description
Is Ajax a new technology, or the same old stuff web developers have been using for years? Both, actually. This book demonstrates not only how tried-and-true web standards make Ajax possible, but how these older technologies allow you to give sites a decidedly modern Web 2.0 feel. Ajax: The Definitive Guide explains how to use standards like JavaScript, XML, CSS, and XHTML, along with the XMLHttpRequest object, to build browser-based web applications that function like desktop programs. You get a complete background on what goes into today's web sites and applications, and learn to leverage these tools along with Ajax for advanced browser searching, web services, mashups, and more. You discover how to turn a web browser and web site into a true application, and why developing with Ajax is faster, easier and cheaper. The book also explains: How to connect server-side backend components to user interfaces in the browser Loading and manipulating XML documents, and how to replace XML with JSON Manipulating the Document Object Model (DOM) Designing Ajax interfaces for usability, functionality, visualization, and accessibility Site navigation layout, including issues with Ajax and the browser's back button Adding life to tables & lists, navigation boxes and windows Animation creation, interactive forms, and data validation Search, web services and mash-ups Applying Ajax to business communications, and creating Internet games without plug-ins The advantages of modular coding, ways to optimize Ajax applications, and more This book also provides references to XML and XSLT, popular JavaScript Frameworks, Libraries, and Toolkits, and various Web Service APIs. By offering web developers a muchbroader set of tools and options, Ajax gives developers a new way to create content on the Web, while throwing off the constraints of the past. Ajax: The Definitive Guide describes the contents of this unique toolbox in exhaustive detail, and explains how to get the most out of it.
Customer Reviews
Generally on the mark - Reviewed on 2008-09-08
1 customer found this review helpful.
Let me preface this review by saying that I have never been a fan of thick programming or computer books. If a book is 2 inches thick, I often find only 1/2 to 1 inch of it to be valuable. However, most of Ajax: The Definitive Guide seems to hit the mark. Since Ajax development is such an expansive, and rapidly changing, topic, it is perhaps a good idea to shoot for too much rather than too little information. Most developers will find this book not only a good learning guide, but also a handy reference for a wide variety of coding needs.
One thing you will notice when scanning through this book is that there is a *lot* of code. The author is not afraid to publish pages and pages of Ajax code for readers to consider, copy and hack up to create their own applications. Not all is useful in real-world applications, however, since some of it is not cross-browser compatible (most often failing in Internet Explorer).
The first three chapters are largely an introduction to Web technologies, and can be skipped by most developers. In Chapter 4, the author introduces the XMLHttpRequest object, the object that puts the "asynchronous" in Ajax (an acronym for "asynchronous JavaScript and XML"). He details how to make simple applications that pull information from server-based XML or JSON, an alternative data format well suited to Ajax. Chapter 5 deals with Document Object Model programming, a critical task that allows developers to change the look and content of Web pages that have already been rendered.
After these foundational concepts, Part 2 contains nine chapters that provide specific solutions to common Web programming needs. Readers learn the ins and outs of creating Ajaxified navigation, forms, lists, tables, frames, etc.
Part 3, called "Ajax in Applications," goes a step farther by showing the reader how to integrate Ajax with other applications. Chapter 16, for example, shows the reader how to incorporate Ajaxified Google search into a site and even include such dynamic features as search hinting. Other chapters in this section introduce Web services, Web APIs and even show how to create Ajax animated games.
Part 4 contains two chapters that show readers how to create more modular code, and how to create faster, more compressed code. This is critical considering the importance of speed to the user experience in Ajax.
One of the book's shortfalls is the lack of information about the various Ajax libraries. Libraries and frameworks provide solutions to common programming needs: ready-made widgets, improved JavaScript programming notation, useful objects and easy cross-browser compatibility. The author includes a brief introduction to the libraries in chapter 4 and a reference in Appendix B. There are also mentions of the major libraries scattered throughout the chapters. However, it would be worthwhile to include at least a chapter devoted to each of the major libraries such as Dojo, Prototype and jQuery.
Exhaustive but flawed - Reviewed on 2008-03-27
14 customers found this review helpful, 6 did not.
While "Ajax: The Definitive Guide" is certainly exhaustive, it's hard to have confidence in a text so riddled with errors. Other O'Reilly titles I've purchased in the last few years suffer from the same problem: very poor copy editing. In a "Definitive Guide," this is inexcusable.
Furthermore, he author's decision to rely on the Prototype framework is misguided. It saves a few lines of code per page, but one expects a "Definitive Guide" to define, explore, and use the actual objects and methods defined by the language itself, not those defined in one of many, many external libraries.
It is also somewhat comical to read on page 10 that developers, rather than browser vendors, "are to blame for not adopting standards" and that they are "stuck with the mentality of the 1990s, when browser quirks mode, coding hacks, and other tricks were the only things that allowed code to work in all environments," and then to read on page 191 that "Yes, there are always caveats in the world of standards compliance" and that "Example 7-2 will not work in Internet Explorer because Internet Explorer does not support the CSS2 rules that are used to make this work." And on page 187 that "Internet Explorer does not natively support :hover on elements other than
. For this reason, instead of using the CSS that will work for all other browsers, we must use this...."
(It's hard not to laugh, too, at a sentence that begins with "To take the file menu example fully to the Web 2.0 level....")
By the time all the errata are corrected and a second edition issued, it might be appropriate for the author to wag his finger at developers who can't yet afford to to be totally standards-pure, but by then the faddish jargon will seem very dated.
And until O'Reilly starts employing copy editors, I'm not buying the first edition of any title they release.
* - See Amazon
Product Page for shipping and pricing details.
Book Subjects
- Internet
- Integrated Services Digital Networks (Isdn)
- Computers
- Computers - Languages / Programming
- Computer Books: Web Programming
- Programming - Software Development
- Computers / Internet / Web Site Design
- Computers / Internet / World Wide Web
- Computers / Programming / Software Development
- Computers / Programming Languages / CGI, JavaScript, Perl, VBScript
- Data Transmission Systems - Broadband
- Internet - Web Site Design
- Internet - World Wide Web
- Ajax (Web site development technology)
- Web site development