Overview

Step-by-step guide reveals best practices for enhancing Web sites with Ajax

  • A step-by-step guide to enhancing Web sites with Ajax.
  • Uses progressive enhancement techniques to ensure graceful degradation (which makes sites usable in all browsers).
  • Shows readers how to write their own Ajax scripts instead of relying on third-party libraries.

Web site designers love the idea of...

See more details below
Bulletproof Ajax

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99
BN.com price
(Save 43%)$31.99 List Price

Overview

Step-by-step guide reveals best practices for enhancing Web sites with Ajax

  • A step-by-step guide to enhancing Web sites with Ajax.
  • Uses progressive enhancement techniques to ensure graceful degradation (which makes sites usable in all browsers).
  • Shows readers how to write their own Ajax scripts instead of relying on third-party libraries.

Web site designers love the idea of Ajax--of creating Web pages in which information can be updated without refreshing the entire page. But for those who aren't hard-core programmers, enhancing pages using Ajax can be a challenge. Even more of a challenge is making sure those pages work for all users. In Bulletproof Ajax, author Jeremy Keith demonstrates how developers comfortable with CSS and (X)HTML can build Ajax functionality without frameworks, using the ideas of graceful degradation and progressive enhancement to ensure that the pages work for all users. Throughout this step-by-step guide, his emphasis is on best practices with an approach to building Ajax pages called Hijax, which improves flexibility and avoids worst-case scenarios.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
So you know HTML and CSS; you can make your way around JavaScript and DOM. How hard could Ajax be? Too hard, if your book assumes you're coming from Java and server-side programming. Try this instead: Bulletproof Ajax.

Jeremy Keith's title borrows from Dan Cederholm's superb Bulletproof Web Design. But this book really is about building Ajax into your applications flexibly and incrementally, and making sure that if it does fail, it degrades gracefully.

In Keith's approach -- named "Hijax" -- you first create pages with traditional non-Ajax refreshes. You plan for Ajax from the get-go. But you wait until late to add your Ajax JavaScript code, which then "hijacks" your links and forms. Your application works smoothly in Ajax and Ajax-free environments, with no duplicate logic, bloated client-side code, or hassle. Hijax is earning lots of buzz: This is its creator's definitive guide to using it. Bill Camarda, from the March 2007 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9780132704762
  • Publisher: Pearson Education
  • Publication date: 3/13/2003
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 216
  • File size: 2 MB

Meet the Author

Working with the Web consultancy firm, Clearleft, Jeremy Keith creates elegant, usable Web sites using the troika of Web standards: CSS, (X)HTML, and the Document Object Model. He is a member of the Web Standards Project and joint lead of the DOM Scripting Task Force. He teaches hands-on Ajax and DOM Scripting in full-day workshops and is the author of DOM Scripting: JavaScript Web Design with JavaScript and the Document Object Model.
Read More Show Less

Table of Contents


Introduction     vi
Acknowledgments     viii
What Is Ajax?     1
Defining Ajax     5
The Ajax Toolkit     8
Summary     12
JavaScript and the Document Object Model     13
JavaScript     15
The Document Object Model     34
Summary     44
XMLHttpRequest     45
Origins     47
Create an Instance     48
Send a Request     51
Receive a Response     56
Putting It All Together     60
Summary     65
Data Formats     67
XML     69
JSON     77
HTML     87
Summary     92
Hijax     93
Progressive Enhancement     95
Unobtrusive JavaScript     96
Progressive Enhancement and Ajax     99
Hijax in Action     103
The Deceptively Rich Client     115
Summary     117
Ajax Challenges     119
Backward Compatibility     121
Web Services     125
Feedback     126
Browser Behavior     134
Wireframing     137
Summary     138
Ajax and Accessibility     139
Understanding Screen Readers     141
Screen Readers and Ajax     142
State of the Art     146
The Future     150
Summary     151
Putting It All Together     153
Planning     155
Applying Ajax     166
Bulletproofing     182
Summary     186
The Future of Ajax     187
Libraries, Frameworks, and Toolkits, Oh My!     190
Choosing a Library     193
Whither Ajax?     194
Index     197
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted October 10, 2007

    Ajax for Liberal Arts Grads

    'Bulletproof Ajax' is an indispensable resource for any front-end web designer, developer, or interaction designer who is involved or is planning on being involved in a project that includes Ajax techniques. Whether working on an in-house team or as an independent consultant, you'll need to understand the pros and cons of using this popular and somewhat controversial method of serving web pages. This is not a book for web designers who don't want to code. In order to benefit from this book, you'll need a strong understanding of semantic XHTML and CSS. A passing familiarity with JavaScript is a definite plus as well. (Keith's previous book, DOM Scripting: Web Design with JavaScript and the Document Object Model, is a good place to start.) Chapter 2 begins with an excellent overview of JavaScript terms and functions--the best I've read. (Until you become familiar with JavaScript statements, variables, data types, etc., you'll no doubt be referring back to this chapter often!) I found that 'Bulletproof Ajax's' greatest strength is presenting ways to evaluate why and how a project should or shouldn't include Ajax: 1. Is Ajax appropriate for the project? 2. If yes, how will we most effectively implement Ajax? 3. How will we provide for site visitors who don't have JavaScript enabled on their browsers? 4. How will we address accessibility issues? In Chapter 5, Keith elaborates on a technique he calls Hijax (which he introduced in DOM Scripting: Web Design with JavaScript and the Document Object Model). This technique applies two key concepts of modern web design: progressive enhancement and graceful degradation. Although Hijax isn't the answer to all Ajax issues, the idea goes a long way towards ensuring that your carefully crafted Ajax goodness doesn't alienate and/or exclude non-JavaScript site visitors. Simply put, 'Bulletproof Ajax' will allow YOU (the front-end guys and gals) to communicate with THEM (the back-end guys and gals) about Ajax and its implementation. This book can help you and your team clarify expectations about Ajax, implement user-centered solutions, and, in all likelihood, save you time and money too.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)