Explain what is Dojo?
Dojo is a JavaScript framework, an assembly of utilities written to ease development of client-side web applications. It is a tool for constructing dynamic web user interfaces.
Explain what are application support libraries in Dojo?
Application support libraries in Dojo consists of
I/O package provides routines, e.g., for AJAX binding
For drag and drop operations DND package provides routines
Useful routines are available for login, animation and storage.
Explain why does <body> in many of tests HTML files have style = “visibility hidden”?
It is to stop raw HTML rendering result from being shown before dojo’s rendering finishes.
Mention what are the advantages or benefits of Dojo?
Advantages or benefits of Dojo includes
·         Loosely typed variables
·         Associative arrays
·         Objects and classes
·         W3C DOM support in the Dojo
·         Regular expression
·         Associative arrays
Mention what are the drawbacks of Dojo?
For Dojo, developer has to depend on the browser support
In the case of commercial application there is no way to hide the Dojo code.
What does all include in Dojo Architecture?
Dojo Architecture includes
·         DojoX
·         Dijit
·         Dojo Core
·         Dojo Base
·         Custom code
·         Util
Explain what is Dijit and DojoX?
Dijit: It is a widget system and component library layered on top of Dojo it enables the user to re-use or use reprogrammed widget
DojoX: It contains widgets, utilities and classes that are not yet ready for inclusion in the main Dojo library. It has experimental elements and widgets.
Explain what makes a widget?
A widget is comprised of two resources
A .js file that consists the logic of the widget
An HTML snippet that carries the way the widget is presented
Mention what is the basic structure in Dojo?
Basic structure in Dojo includes
/index.html : Entry point for application
/app: The application module
/app/main.js: Main script for app module
Mention what are the limitations of Dojo?
Limitation of Dojo are
It needs much network
Developer remains dependent on the browser support for the Dojo
In the case of commercial application there is no way to hide the Dojo code
Documentation is quite narrow
In the case of commercial application there is no way to hide the Dojo code.
Explain whether Dojo is a part of Ajax and distinguishes their roles?
Dojo is not a part of Ajax; it is an open source JavaScript toolkit, designed to ease the quick development of JavaScript or Ajax-based applications and websites. It provides you with lots of custom components like data grid, scroller, calendar, etc. It serves some data-structure mode like collection and array list, and it also provides some advanced API’s like API to make AJAX calls.
While, AJAX is an Asynchronous JavaScript and XML, together they make it possible to make JavaScript function call to your server and trigger a response.  They use XMLHttpRequest and XMLHttp response object.
Mention what are Modules in Dojo?
In Dojo, Modules are individual codes that can be loaded separately.  They are identifying using a string that is similar to the file path where the code is defined. Example: my/module/class.
Explain about the language libraries in Dojo?
Language libraries in Dojo includes
lang.*
Wrappers for common idioms
Functional programming APIs
Mention the features of Dojo Charting?
Dojo Charting enables developers to create dynamic, functional and unique charts from varying sets of data. The charting library lives within the dojox/charting resource.
It allows chart to be created with JavaScript or HTML
It works on almost all devices
It can render charts in VML, SVG,Silverlight and Canvas
It gives freedom to the developer to choose which renderer to use
It evaluates the client and based on the client supports, uses an appropriate renderer
It allows to use dojox/gfx library to make charts animate in a wide variety of ways
It comes packaged with dozens of diverse and attractive themes
It allows for linear and radial gradient within chart themes.
List out some of the components that come along with Dojo Framework?
Components that comes along with Dojo Framework includes
·         Dojo Tree
·         Dojo List box
·         Dojo Calendar control
·         Dojo Grid
·         Dojo Button, etc.
List out some of the Dijit Layout widgets?
·         ContentPane
·         LinkPane
·         Border Container
·         Tab Container
·         Split Container
·         Stack Container
·         Accordion Container
Explain the function of Dojo/ready module?
The dojo/ready module has a function that records a callback that will run once the three conditions have met:
DOM is ready
All outstanding or remaining modules of requested code have completed loading
Other registered functions with a higher priority have completed.
What is the basic structure in Dojo?
The basic directory structure of the application is very simple and it will evolve later:
/index.html - The application entry point.
/app - The application module.
/app/main.js - The main script for app module.
What is the point in Dojo?
·         Dojo bases on the HTML and JavaScript
·         Developer has not to use any strange programming language
·         Dojo ups abstraction layer in a higher level
·         Developer has not to reinvent wheel when starting programming project
History of Dojo.
·         Development was started by Alex Russell and Dylan Schiemann in 2004
·         The first Dojo code was written in Septemper 2004
·         Nowadays 40 000 downloads and over 40 developers and companies
What is Package System in Dojo?
·         Dojo consists of JavaScript files
·         Package system takes care that only needed files are included
·         Each JavaScript file can be named as package dojo.provide(dojo.string)
·         By that name the package can be taken in use dojo.require(dojo.string)
·         One has not to remember any file or directory names
·         Only dojo.js has to be included into HTML document
·         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.
Request to Download PDF

Post A Comment:

0 comments: