Introduction of DOJO

Dojo is the Open Source JavaScript Toolkit. It is tool for constructing dynamic web
user interfaces. Dojo offers various widgets, utilities, higher IO (AJAX) abstraction etc.It is based on HTML and javascript. Dojo ups abstraction layer in a higher level. Dojo is sometimes advertised as AJAX
framework. It is able to make AJAX requests with Dojo But the technique of binding is under
the abstraction layer that Dojo has. Even if Dojo is nice, beautiful etc, it is quite heavy

We can one use Dojo by :-
1. Include package
2. use widget/utility/…

Package System
• Dojo consists of JavaScript files
• Package system takes care that only needed
files are included
• Each JavaScript file can be named as
• By that name the package can be taken in
One has not to remember any file or
directory names
• Only dojo.js has to be included into HTML
• That file takes care of initialization of Dojo
• There is a couple of pre packaged builds that
consist of different kinds of packages
e.g. Widget, event or IO builds.

DOJO have following Language Libraries
• dojo.lang.*
• Wrappers for common idioms
• Functional programming APIs
• For Example
– dojo.lang.forEach
– dojo.lang.assert

Widget toolkit-

• Widget toolkit is also a very noticeable part of
Dojo toolkit
• Widget is a user interface object that has a
layout and some properties
• In Dojo widgets are HTML+CSS bound by
• Dojo has lots of useful widgets
e.g. Tabs, sorting table, dialogs

<!-- ... -->
<textarea dojoType=”Editor2”>

For more info –

pimp it

Thumbs Up