RKCP Information Technology




DOJO
Home » Courses   » Dojo

Dojo

This Dojo Training teaches its participants how to build powerful JavaScript Ajax applications using the Dojo Toolkit, Dijit, and DojoX.

Overview

The training about Dojo teaches its participants how to build powerful JavaScript Ajax applications using the Dojo Toolkit Dijit and DojoX.


Objective

At the end of this training, participants will be able to:

  • Understand API design and feature set of Dojo
  • Master the use of the core features of Dojo
  • Manipulate and traverse the Document Object Model with the use of Dojo's DOM APIs
  • Create and control your own class hierarchy

Total duration - 3 Days


Prerequisites

Participants are required to have

  • Knowledge of JavaScript


Syllabus

Expand All
  • 1. Introduction of Dojo
    • What is Dojo and what it isn't
    • A basic Dojo script
    • How things are done the Dojo way Asynchronous Modules and AMD Requiring the code that you need Loading the Dojo
    • Baseless Dojo
    • dojoConfig: Configuring Dojo to be loaded
  • 2. Retrieving the elements
    • dojo/dom: Asking for an element by name
    • What do I get back? DOMNodes and Nodes
    • Creating nodes
    • Placing nodes
    • Removing nodes
  • 3. Dojo/Query
    • Different way of retrieving elements
    • Using CSS Selectors (up to CSS3)
    • Processing NodeLists
  • 4. Basic styling
    • Accessing the style information
    • Changing the style settings
  • 5. Dojo and JavaScript
    • Array enhancements
    • Function enhancements
    • Working with dates
    • Working with numbers and strings
  • 6. Dojo and Events
    • Hooking up events with dojo/on
    • Removing the event handlers
    • Distributing the events across a NodeList
    • Using dojo's publish/subscribe model
  • 7. 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
  • 8. Dojo and Classes
    • dojo/declare(): Creating classes
    • Defining methods and properties
    • Inheritance and Mixins
    • Constructors
  • 9. Dijit Widgets
    • Declarative vs programmatic UI
    • Form widgets
    • Layout widgets
    • Other widgets
  • 10. Styling Widgets
    • Using customizable properties
    • On-the-fly
  • 11. Creating your own widget
    • From scratch
    • Using template
    • Creating attributes, getters and setters
  • 12. Sub-classing a widget
    • Using OO
    • Adding capabilities
  • 13. Possible additional topics (which would require extra time)
  • 14. Conclusion