Learning Dojo
Dojo is arguably the most feature-packed Ajax toolkit available today, with a widevariety of functionality. It can be used sparsely to just add effects or styling to yourweb page, or it can be used for complex layouts, caching data stores, and interactive2D graphics—the choice is yours. This book aims to give an overview of all majoraspects of Dojo while at the same time giving lots of examples to copy for your ownstudies and websites.
What This Book Covers
Chapter 1 Introduction to Dojo
: This chapter will give you an overview of the DojoAjax framework along with tips and tricks for usage of JavaScript and useful and genericDojo functions.
Chapter 2 Useful JavaScript and Dojo Tricks
: This chapter explains Dojo's approach toobject-oriented programming with JavaScript.
Chapter 3 Basic Dijit Knowledge
: Dijits is Dojo's name for Widgets. A typical widget isa colorpicker or a movable pane. This chapter introduces Dijits in general and gives a lotof examples on how to use them, how they interact, and even an introduction to writingyour own.
Chapter 4 Ajax Communication
: This chapter covers Ajax communication in severalaspects, with examples, which also show the view from the server (in PHP code).
Chapter 5 Form-Related Dijits
: This chapter focuses on serializing forms and powerfulvalidation and Internationalization. It covers best practices when setting up Dojo formsand includes a run-down of available components.
Chapter 6 Layouts
: The Layout Dijit organizes the content, be it other Dijits or plainHTML. This chapter shows a number of examples from simplifying layout in generalwith 'CSS-less' layout managers, to dynamic loading of content in content panes, and howto create a wizard widget with a StackContainer and a small amount of scripting.
Chapter 7 Data, Trees, and Grids
: The datastores are perhaps the most complex area of Dojo, but they also give the programmer an unprecedented level of modularity. We'll goover a couple of simple examples, then describe the
dojo.data
interface, how to extendthem, and how to use several different types of data in the same Dijit component.
Chapter 8 Real-World Dojo
: This chapter is almost entirely examples, and focuses ongiving the reader full-blown guides on how to create several types of applications withDojo, and will also be a store for cut-and-paste problem solving when time is of essence.
Add a Comment