文件名称:Mastering Dojo-JavaScript and Ajax Tools for Great Web Experiences
文件大小:4.16MB
文件格式:PDF
更新时间:2013-10-05 08:45:35
javascript
1 Introduction 9 1.1 Key Aspects of Dojo . 12 1.2 Using the Book . . . 15 1.3 Acknowledgments . . 17 I Ajax the Dojo Way 19 2 Powerful Web Forms Made Easy 20 2.1 What Customers Are Saying About Your Form 21 2.2 Installing Dojo on Your Own Server . . 21 2.3 Adding Dojo and Dijit to a Page . . . . 22 2.4 Laying Out the Form 26 2.5 Improved Form Controls . . . 31 2.6 Wrapping It Up . . . 34 3 Connecting to Outside Services 37 3.1 Dojo Remote Scripting . . . . 37 3.2 JavaScript Idioms for Calling XHR . . 39 3.3 A Wish List with dojo.data and dojox.grid.Grid . 46 3.4 Researching Cigars Using JSONP . . . 56 3.5 Reviews with dojo.xhrGet . . 63 3.6 Errors and Debugging . . . . 67 II The Dojo APIs 70 4 Dojo In Depth 71 4.1 Modularizing JavaScript . . . 71 4.2 Dojo Source Code Organization . . . . 75 4.3 Loading Dojo 78