1 / 9

Dojo

Briana Fulfer and Blake Baker. Dojo. Dojo. Dojo is a collection of JavaScript utilities for developer use. Used for desktop and mobile applications. Defining and Requiring modules. Require - used to load modules Define - used to define a module. The functions take two arguments

job
Download Presentation

Dojo

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Briana Fulfer and Blake Baker Dojo

  2. Dojo • Dojo is a collection of JavaScript utilities for developer use. • Used for desktop and mobile applications.

  3. Defining and Requiring modules • Require - used to load modules • Define - used to define a module. • The functions take two arguments • a list of module IDs and a callback function

  4. Define

  5. Require

  6. dojo/_base • The dojo/_base directory holds modules with basic functionality such as: • Arrays and Operations. (dojo/_base/arrays) • Language Utilities (dojo/_base/lang) • HTML Utilities (dojo/_base/html) • Deferred Utilities (dojo/_base/Deffered) • Kernel Utilities (dojo/_base/kernel) • Window (dojo/_base/window) • Effects (dojo/_base/fx) and many more..... • Be aware that these features will be phased out for more top level modules in the release of 2.0.

  7. Dojo Core • Ensure that you only require items that you need to use. • Many modules are preloaded and for legacy purposes. • Make sure to use best practices when referencing items even if you can reference through the global scope.

  8. Dijit • Dijit is Dojo’s UI Library. • Widget system layered on top of Dojo. • Dijit is a good place to start as a new user. • “You can build amazing Web 2.0 GUI’s using very little, or no, JavaScript”

  9. References • http://dojotoolkit.org/ • Reference Guide • http://dojotoolkit.org/reference-guide/1.7/

More Related