Adding Ajax
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 u...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing :
O'Reilly
[2007]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627001606719 |
Tabla de Contenidos:
- Adding Ajax; Contents of This Book; Conventions Used in This Book; Using Code Examples; We&d Like to Hear from You; Acknowledgments; 1. Getting Ready to Make a Move to Ajax; 1.1.2. The Technologies: Book View; 1.2. Start Clean; 1.2.2. CSS Validators; 1.2.3. Checking Accessibility; 1.3. Converting Tables to CSS Layouts; 1.4. Continuing the Conversion: Element by Element; 1.5. Dealing with Browser-Specific Quirks; 1.5.2. Taking Control; 1.6. Understanding Your Client Base; 1.6.2. An Open-Door Policy; 1.6.3. The Plan; 1.7. Designing a Framework for Your Site; 1.7.2. Safe and Secure
- 1.7.3. Tight Coupling and Loose Coupling1.8. Progressive Enhancement Versus Massive Overhaul; 2. The Ajax Bits; 2.2. Preparing the Object for Use; 2.3. Preparing and Sending a Request; 2.3.2. The Parameters; 2.3.3. Sending the Request; 2.4. Processing the Ajax Response; 2.4.2. Working with a More Traditional XML; 2.4.3. Simplifying Processing with JSON; 2.4.4. (X)HTML Fragment; 2.5. Endpoints, the JavaScript Sandbox, and Widgets; 2.5.2. Dynamic Scripting with XML; 2.6. That Security Stuff; 2.7. A First Look at Performance; 2.8. One Last Word on Asynchronous Versus Synchronous
- 3. Ajax Tools and Terminology3.1.2. Associative Arrays and the Risks of Prototype; 3.1.3. External Libraries: Risks and Benefits; 3.2. script.aculo.us; 3.3. Rico; 3.3.2. The Rico Weather Widget; 3.3.3. The JavaScript Sandbox and Proxies; 3.4. Dojo; 3.4.2. Declarative HTML; 3.4.3. Using JavaScript to Bypass Nonstandard Attributes; 3.5. Other Libraries; 3.5.2. MochiKit; 3.5.3. The Yahoo! UI; 3.5.4. mooTools and moo.fx; 3.5.5. The Sarissa Library; 3.5.6. WZ_jsGraphics and qForms; 3.5.7. And More; 4. Interactive Effects; 4.1.2. Mashable Event Handling
- 4.1.3. The Dojo Event System the Target Object4.2. Just-In-Time Information; 4.2.2. Tooltips; 4.3. In-Page Previews; 4.3.2. Ajax Preview; 4.4. Color Fades for Success or Failure; 4.4.2. Ajaxian Timers; 4.4.3. Creating a Flashing Notice; 5. Space: The Final Frontier; 5.1.2. A Transitioning Accordion; 5.1.2.2. Finishing the transition; 5.1.3. Using Prepackaged Accordions; 5.1.4. Packaging the Accordion Code; 5.1.5. Expand and Request: Mixing Accordions and Ajax Calls; 5.2. Tabbed Pages; 5.2.2. Packaging Revisited: Creating Generic Tabs; 5.2.3. Using the YUI TabView
- 5.2.4. Tabbed Content and Accessibility5.3. Overlays; 6. Dynamic Data; 6.1.2. Diving into the Client; 6.1.3. The Server Side of the Application; 6.2. In-Place Editing: Performance, Security, and Accessibility; 6.2.2. Performance and Accessibility; 6.2.3. Improvements; 6.3. Highlighting Changes; 6.3.2. Polling and Highlighting Updates; 6.4. Revisiting In-Page Update Accessibility One More Time; 6.4.2. Revisiting In-Place Additions; 6.5. Live Validation; 6.6. Performance and Two-Phase Commits; 6.6.2. Ajax, Caching, and Database Transactions; 6.7. External Library Data Effects
- 6.7.2. Drag-and-Drop Sorting with script.aculo.us