Dojo


Matthew A. Russell
Bok Engelsk 2008 · Electronic books.
Utgitt
Sebastopol : : O'Reilly Media, , 2008.
Omfang
1 online resource (488 p.)
Opplysninger
Description based upon print version of record.. - Table of Contents; Foreword; Preface; Why Dojo?; What's in This Book; What's Not in This Book; Open Source Software Is Fluid; About You; Development Tools; Essential Working Knowledge; Closures; Context; Anonymous functions; Conventions Used in This Book; Style Conventions; Using Code Examples; Safari® Books Online; We'd Like to Hear from You; Acknowledgments; Part I; Toolkit Overview; Overview of Dojo's Architecture; Base; Core; Dijit; DojoX; Util; Prepping for Development; Getting Dojo; Downloading an official release; Downloading from Subversion; AOL's CDN; Debugging with Firebug. - Browser Security Settings for Running Dojo LocallyLightweight Server Responses; Terminology; Bootstrapping; dojo.addOnLoad; Configuration with djConfig; Exploring Dojo with Firebug; Exploring Base; dojo.byId; dojo.connect; Exploring Dijit; Summary; Language and Browser Utilities; Looking Up DOM Nodes; Type Checking; Duck Typing; String Utilities; Array Processing; Finding Locations of Elements; Testing Elements for a Condition; Iterating Over Elements; Transforming Elements; String-As-Function Style Arguments; Managing Source Code with Modules; Motivation for Managing the Mayhem. - Cross-Site Scripting with JSONPJSONP Primer; Core IO; Using JSONP with Dojo; Connecting to a Flickr data source; Getting back JavaScript from a JSONP call; IFRAME Transports; File downloads with IFRAMEs; Form submissions with IFRAMEs; Non-HTML response types; Manually creating a hidden IFRAME; JSON Remote Procedure Calls; JSON RPC Example; OpenAjax Hub; Summary; Node Manipulation; Query: One Size Fits All; Warm Up; State Tracking Example; The long, brittle way; The short, robust way; NodeList; Array-Like Methods; Chaining NodeList results; String-as-Function style Arguments. - Custom Module Example Over XDomainFibonacci Example with Local Toolkit Installation; Building a Magic Genie Example Module; JavaScript Object Utilities; Mixins; Extending Object Prototypes; Cloning Objects; Manipulating Object Context; Partially Applying Parameters; Hitching an Object to a Specific Context; Delegation and Inheritance; DOM Utilities; Ancestry; Selectability; Styling Nodes; Manipulating Attributes; Placing Nodes; The Box Model; Browser Utilities; Cookies; Back Button Handling; Summary; Event Listeners and Pub/Sub Communication; Event and Keyboard Normalization. - Enhanced filtering. - Mouse and Keyboard Event NormalizationStandardized Key Codes; Event Listeners; Event Propagation; Leveraging Closures with dojo.connect; One-time connections; Setting up connections within a loop; Connecting in Markup; Publish/Subscribe Communication; Summary; AJAX and Server Communication; Quick Overview of AJAX; JSON; AJAX Made Easy; XHR Examples; General Purpose XMLHttpRequest Calls; Hitching Up Callbacks; Deferreds; Deferred Examples Via CherryPy; Using Deferreds returned from XHR functions; Injecting Deferreds into XHR functions; Custom canceller; DeferredList; Form and HTTP Utilities. - Of all the Ajax-specific frameworks that have popped up in recent years, one clearly stands out as the industrial strength solution. Dojo is not just another JavaScript toolkit -- it's the JavaScript toolkit -- and Dojo: The Definitive Guide demonstrates how to tame Dojo's extensive library of utilities so that you can build rich and responsive web applications like never before. Dojo founder Alex Russell gives a foreword that explains the ""why"" of Dojo and of this book. Dojo provides an end-to-end solution for development in the browser, including everythi
Emner
Sjanger
Dewey
ISBN
9780596516482

Bibliotek som har denne