Book description
Ajax can bring many advantages to an existing web application without forcing you to redo the whole thing. This book explains how you can add Ajax to enhance, rather than replace, the way your application works. For instance, if you have a traditional web application based on submitting a form to update a table, you can enhance it by adding the capability to update the table with changes to the form fields, without actually having to submit the form. That's just one example.
Adding Ajax is for those of you more interested in extending existing applications than in creating Rich Internet Applications (RIA). You already know the "business-side" of applications-web forms, server-side driven pages, and static content-and now you want to make your web pages livelier, more fun, and much more interactive. This book:
- Provides an overview of Ajax technologies, and the importance of developing a strategy for changing your site before you sit down to code
- Explains the heart and soul of Ajax: how to work with the XMLHttpRequest object
- Introduces and demonstrates several important Ajax libraries, including Prototype, script.aculo.us, rico, Mochikit
- Explores the interactive element that is Ajax, including how to work with events and event handlers that work across browsers
- Introduces the concept of web page as space, and covers three popular approaches to managing web space
- Explains how to make data updates, including adding new data, deleting, and making updates, all from within a single page
- Describes the effects Ajax has on the Web-breaking the back button, losing browser history, dynamic effects that disappear when the page is refreshed, and more
- Covers advanced CSS effects, including drag and drop "scroll bars", pagination, and the use of SVG and the Canvas object
- Explores mashups-Ajax's ability to combine data from different web services in any number of ways, directly in our web pages
Publisher resources
Table of contents
-
Adding Ajax
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- A Note Regarding Supplemental Files
- Preface
-
1. Getting Ready to Make a Move to Ajax
- 1.1. The Technologies That Are Ajax
- 1.2. Start Clean
- 1.3. Converting Tables to CSS Layouts
- 1.4. Continuing the Conversion: Element by Element
- 1.5. Dealing with Browser-Specific Quirks
- 1.6. Understanding Your Client Base
- 1.7. Designing a Framework for Your Site
- 1.8. Progressive Enhancement Versus Massive Overhaul
- 2. The Ajax Bits
- 3. Ajax Tools and Terminology
- 4. Interactive Effects
- 5. Space: The Final Frontier
- 6. Dynamic Data
- 7. History, Navigation, and Place with Single-Page Applications
- 8. Adding Advanced Visual Effects
- 9. Mashup Your Site
-
10. Scaling, Infrastructure, and Starting from Scratch
- 10.1. Frameworks: Tight Versus Loose Coupling
- 10.2. The Web Service: Resource and Security
- 10.3. Ajax Libraries: Homegrown or Borrowed
-
10.4. Designing Ajax from the Ground Up
- 10.4.1. Packaging Your Functionality into Units
- 10.4.2. Maintenance and Testing
- 10.4.3. Memory Leaks, Local Storage, and Robustness
- 10.4.4. Reducing Every Effect to Its Simplest
- 10.4.5. Critical Areas of a Site
- 10.4.6. Don't Over-Mash
- 10.4.7. A Multitude of Devices
- 10.4.8. Limit "Cool"
- 10.4.9. But Cool's Good, Too
- 10.5. Frameworks du Jour
- 10.6. Go Forth and Ajax
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
Product information
- Title: Adding Ajax
- Author(s):
- Release date: June 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596550462
You might also like
book
Ajax Bible
Build interactive Web applications with Ajax Create live searches and online spreadsheets Discover programming mistakes to …
book
Ajax: The Definitive Guide
Is Ajax a new technology, or the same old stuff web developers have been using for …
book
Securing Ajax Applications
Ajax applications should be open yet secure. Far too often security is added as an afterthought. …
book
Ajax Design Patterns
Ajax, or Asynchronous JavaScript and XML, exploded onto the scene in the spring of 2005 and …