Bulletproof Ajax (Voices That Matter) (英語) ペーパーバック – 2007/2/9
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
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.
Amazon.com で最も参考になったカスタマーレビュー (beta)
Chapter 1 answers the question "What is AJAX?" and gives a brief introduction and history lesson as to it's origins. This is very basic, but begins to get your feet wet understanding that AJAX is not a new technology - but one that has recently hit the spotlight.
Chapter 3 dives into the XMLHttpRequest object, its origins, and how to create a bulletproof instance of the object. This handles the differences between IE and other browsers and how they implement the request. He creates a wrapper for use (and use through the rest of the book) that allows us to send requests, receive responses, and then position it accordingly in the DOM.
Chapter 4 covers the Data Formats that are returned by our request. These include XML, JSON, and HTML. He covers each data format, and creates another wrapper for retrieving the different data formats.
Chapter 6 forces us to hit a wall (briefly). This chapter discussed the challenges that AJAX faces (and has faced in the past). Some of the challenges revolve around web services and connecting to remote API's, making your application backwards compatible, how to work around browser inconsistencies and consistencies (The back button and bookmarking), and how to wireframe an application that will change in each section.
Chapter 8 starts to wrap things up. Taking everything we have learned to this point, he discusses planning, applying, and bulletproofing your application.
Chapter 9, the final chapter, looks to the future of AJAX. Not only did it discuss the future - it covered many of the current frameworks available. He does a great job of discussing the good and bad of using frameworks - and where frameworks are best suited.
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?
4. How will we address accessibility issues?
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.
Jeremy also presents JSON scripting which he explains is a way to perform defacto Ajax without the limitation of same-site sources. JSON permits, in essence, cross-site ajax.
On the other hand, finding something in print on Ajax isn't easy.