Dojo Training

Dojo Training

Introduction to Dojo

  • Dojo package
  • What Dojo is and isn’t
  • Our first, basic Dojo script
  • How to do things the Dojo way
  • Asynchronous Modules
  • Requiring the code you need
  • Loading Dojo
  • Baseless Dojo
  • dojoConfig: Configuring how Dojo is loaded

Retrieving elements

  • dojo/dom: Asking for an element by name
  • What do I get back? DOMNodes and Nodes
  • Creating nodes
  • Placing nodes
  • Removing nodes

Dojo/query

  • A different way of retrieving elements
  • Using CSS Selectors (up to CSS3)
  • Processing NodeLists

Dojo + Rest web servicescalling

Basic styling

  • Accessing style information
  • Changing style settings

Dojo and JavaScript

  • Array enhancements
  • Function enhancements
  • Working with dates
  • Working with numbers and strings

Dojo and Events

  • Hooking up events with dojo/on
  • Removing event handlers
  • Distributing events across a NodeList
  • Using dojo’s publish/subscribe model

Dojo and Ajax

  • Ajax architecture
  • Dojo and Ajax: dojo/request
  • Typical Ajax tasks
  • Changing the content of a node
  • Form processing
  • Processing data with Ajax
  • JSON data
  • XML data
  • Other dojo/request capabilities

Dojo and Classes

  • dojo/declare(): Creating classes
  • Defining methods and properties
  • Inheritance and Mixins
  • Constructors

Dijit Widgets

  • Declarative vs programmatic UI
  • Form widgets
  • Layout widgets
  • Other widgets

Xhr

Selected Widgets

  • dijit.form.Button
  • dijit.ColorPalette
  • dijit.Dialog
  • dijit.Toolbar
  • dijit.form.Button
  • dijit.form.TextBox
  • dijit.form.CheckBox
  • dijit.Menu
  • dojo.parser
  • dijit.form.ComboBox
  • dijit.layout.ContentPane
  • dijit.Dialog
  • dijit.Editor
  • dojox.fx.easing
  • dijit.layout._LayoutWidget

Creating your own widget

  • From scratch
  • Using a template
  • Creating attributes, getters and setters

Subclassing a widget

  • Using OO
  • Adding capabilities

Possible additional topics

Conclusion


Send Enquiry

Your Name (required)

Your Email (required)

Your Phone No. (required)

Subject

Your Message