Using the Dojo Javascript library to build Ajax applications

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Author(s): James Earl Harmon
Publisher: Addison-Wesley
Year: 2008

Language: English
Pages: 317
City: Upper Saddle River, NJ

Table of Contents......Page 4
Acknowledgments......Page 12
About the Author......Page 13
I: A Dojo Tutorial......Page 14
1.1 Introduction to the Tutorial......Page 15
1.2 A Standard HTML Data Entry Form......Page 17
1.3 The Plan for Enhancing the Form......Page 24
1.4 Getting and Running the Source Code......Page 26
1.5 Tutorial Step 1—Including Dojo......Page 27
2.1 Validating Form Fields......Page 36
2.2 Tutorial Step 2—Adding Client-side Validation......Page 37
3.1 Adding Server-side Features......Page 46
3.2 Tutorial Step 3a—Adding Server-side Validation......Page 47
3.3 Tutorial Step 3b—Retrieving Data from the Server......Page 54
4.1 Adding Dojo Widgets to the Page......Page 62
4.2 Tutorial Step 4—Using Dojo Widgets......Page 63
5.1 Using Dojo to Process Forms......Page 70
5.2 Tutorial Step 5—Processing the Form......Page 71
II: Dojo Widgets......Page 76
6.1 What Are Widgets?......Page 77
6.2 What Are Dojo Widgets?......Page 78
6.3 Components of a Dojo Widget......Page 80
7.1 Standard Forms and Dojo Form Widgets......Page 101
7.2 The Dojo Form Widget Explained......Page 104
8.1 Understanding Page Layout......Page 146
9.1 What Are Specialized Widgets?......Page 164
9.2 Menu Widget......Page 165
III: Dojo in Detail......Page 195
10.1 History of JavaScript and AJAX......Page 196
10.3 Purpose of Dojo......Page 198
10.4 Description of Dojo......Page 199
10.5 What Problems Does Dojo Solve?......Page 200
10.6 Who Should Use Dojo?......Page 201
10.8 Competitors and Alternatives......Page 202
10.9 The Future of Dojo......Page 204
11.1 What You Get in the Dojo Download......Page 205
11.2 Organization of Dojo Source Code......Page 207
11.3 Dojo Modules and Features......Page 209
12.1 Objects Explained......Page 228
12.2 Using Dojo to Work with Objects......Page 233
12.3 Defining a Class......Page 234
13.1 Text Strings......Page 243
13.2 JSON......Page 248
14.1 Description of the Event Model......Page 253
14.2 Defining and Assigning Event Handlers......Page 256
14.3 Representing an Event as an Object......Page 258
14.4 Using Aspect Oriented Programming in Dojo......Page 260
15.1 Remoting......Page 262
15.2 Review of XMLHttpRequest (or XHR for Short)......Page 263
15.3 The dojo.xhrGet Function......Page 264
15.4 dojo.xhrPost......Page 267
15.5 Working with Forms......Page 272
16.1 Finding Needles in the DOM Haystack......Page 279
16.2 Dojo Query......Page 280
16.3 Animation......Page 285
17.1 Testing......Page 295
17.2 Logging......Page 300
A......Page 304
C......Page 305
D......Page 306
E......Page 309
F......Page 310
L......Page 311
N......Page 312
R......Page 313
S......Page 314
T......Page 315
W......Page 316
Z......Page 317