更新时间:2021-04-25 17:38:56
封面
Learning Dojo
Credits
About the Author
About the Reviewer
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Introduction to Dojo
Dojo usage
A sneak peek at Dojo
Summary
Chapter 2. Useful JavaScript and Dojo Tricks
Array usage tips and gotchas
Functions as arguments
JavaScript's prototype-based OO
Using closures
OO in Dojo
Anatomy of a Dojo page
Basic Dojo functions
Intermediate Dojo functions
Logging Firebug integration and debugging
Event handling in Dojo
JSON
Chapter 3. Basic Dijit Knowledge
The two ways to create Dijits
What's in the fridge? A smorgasbord of tasty Dijits
Dijit structure
Themes
I18N
Chapter 4. Ajax Communication
Dojo Ajax features
The "Hello World" of Ajax
Script request/JSONP (dojo.io.script)
Remote procedure calls
Chapter 5. Forms
The Form Dijit
Generic properties for all Form Dijits
CheckBoxes radio buttons and toggle buttons
Spinners sliders and FilteringSelects
TimeTextBox
Buttons
Ajax integration
Chapter 6. Layout
Basic Dojo layout facts
ContentPane
Container functions
DragPane
ExpandoPane
FloatingPane
GridContainer
RadioGroup
ResizeHandle
RotatorContainer
ScrollPane
Compound example using layout
One step forward — creating a widget
Chapter 7. Data Trees and Grids
dojo.data and dojox.data
Quick example
Models
Data sources stores and consumers
A simple tree example
Forests and trees
Reading and writing with JsonRestStore
Overview of the Grid Dijit
Chapter 8. Real-World Dojo
Using AOL's and Google's CDN
Using unit testing with Dojo Objective Harness (DOH)
Index
A
B
C
D
E
F
G
I
J
L
M
O
R
S
T
U
V
W