Latest Questions
Post Top Ad
Your Ad Spot
Tuesday, June 25, 2019

20 Top Dojo Interview Questions and Answers {Updated}

Dojo Interview Questions and Answers for experienced PDF, Read commonly asked Dojo Job Interview Questions with Answers PDF for Freshers.


Read Dojo Interview Questions and Answers

What is Dojo?
The 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.

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.

Why does 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, the developer has to depend on the browser support
  • In the case of commercial application, there is no way to hide the Dojo code.

What do all include in Dojo Architecture?
Dojo Architecture includes
  • DojoX
  • Dijit
  • Dojo Core
  • Dojo Base
  • Custom code
  • Util

What are 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.

What makes a widget?
A widget is comprised of two resources
  • A .js file that consists of the logic of the widget
  • An HTML snippet that carries the way the widget is presented

Mention what is the basic structure in Dojo?
The basic structure in Dojo includes
  • /index.html : Entry point for application
  • /app: The application module
  • /app/main.js: Main script for the app module

Mention what are the limitations of Dojo?
Limitation of Dojo are
  • It needs many networks
  • The 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?
The 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 include
  • 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 the 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 using 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 come along with Dojo Framework includes
  • Dojo Tree
  • Dojo List box
  • Dojo Calendar control
  • Dojo Grid
  • Dojo Button, etc.

What is the difference between JQuery and Dojo?
 DOJO                                           JQUERY
  • The dojo is a JavaScript toolkit or framework
  • Dojo has also got some built-in functionality that is proven and well accepted
  • The dojo is HTML and JavaScript-based tool kit
  • Dojo might not be as easy to use
  • Dojo provides the features of a widget toolkit
  • Dojo requires higher network bandwidth
  • For creating a bigger website and application, Dojo is preferred
  •  JQuery is a JavaScript library
  • JQuery has the built-in plugin, but the plugins might not be verified
  • JQuery supports almost all web languages
  • JQuery is simpler to use compared to DOJO
  • JQuery is customizable and used to create Ajax applications
  • It will work even at low network bandwidth
  • JQuery is perfect for small websites

List out some of the Dijit Layout widgets?
  • ContentPane
  • LinkPane
  • Border Container
  • Tab Container
  • Split Container
  • Stack Container
  • Accordion Container

Explain the function of the 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.

Post Top Ad

Your Ad Spot

Pages