×

Top 22 DOJO Interview Questions for 2024

1) What is DOJO?

DOJO is an open source JavaScript framework designed for very fast development of JavaScript/AJAX based application and websites having cross platform interdependencies.

2) Enlist all features of DOJO.

  • Widgets e.g. Menus, Sorted Tables, 2-D vector drawing etc.
  • Asynchronous Communication - It is the main feature of AJAX due to which information is exchanged and updated but page is not refreshed.
  • Packaging System - It provides modular development of functionality in individual or sub packages.
  • Client-Side Data Storage - Dojo Storage provides web-apps to store client side data in browsers.
  • Server-Side Data Storage - It implements under dojo.data namespace. Example- Csv Store, Opmi Store, Yahoo Store, Delicious Store, Rdf Store.

3) Give the architecture of DOJO.

  • dojo
  • dijit
  • dojox
  • util
  • dgrid
  • gridx

4) Explain Directory structure of DOJO.

It contains three specific files
  • /index.html- Starting point of Application.
  • /app- Application Module.
  • /app/main.js - Script for Application Module.

5) List the advantages of DOJO.

  • Regular Expression
  • Associative Array
  • Object and Classes
  • Loosely typed variables

6) List the disadvantages of DOJO.

  • Loading - Initial version was said to be bulky and slow to load but in version Dojo 1.7 have Asynchronous Module Definition (AMD) and nano loader which solved this issue.
  • Documentation - It has incomplete, scattered and outdated documentation which was improved when Dojo 1.8 release.
  • Learning Curve - It is difficult to learn as in comparison with jQuery.
  • Browser Support - Only limited browser supports Dojo.

7) Define Dijit and DojoX?

  • Dijit - It is an UI library of Dojo having namespace dijit. It requires Dojo Core and Dojo Base which provide the users to re-use the widgets.
  • DojoX -It contains utilities, classes and widgets that are not yet ready for inclusion in the main Dojo library.

8) Name the resources widget contains.

It contains two resources:
  • .js file: in this logic of the widget is stored.
  • HTML Snippet: Presentation of widget is shown.

9) List component of DOJO Framework.

  • DOJO GRID
  • DOJO BUTTON
  • DOJO TREE
  • DOJO LIST BOX etc.

10) Difference between DOJO and jQuery.

DOJO jQuery
It is a java script framework. It is a java script library.
High network bandwidth requires. Works good in low network bandwidth.
Few browser supports. Almost all browser supports.
It has built-in function. It has plug-in.

11) Enlist Dijit layout widgets.

  • Border Container
  • Split Container
  • Stack Container
  • Tab Container
  • Content Pane
  • Link Pane

12) What are the condition necessary for a function that record callback?

  • DOM should be ready.
  • All the modules of requested code have completed loading.
  • Higher priority function should be executed first.

13) What are modules in DOJO?

In Dojo, Modules are individual codes that can be loaded separately. They are identified using a string that is similar to the file path where the code is defined. Example: my/module/class.

14) Describe Language Libraries in DOJO.

It is the wrapper for common idioms which consist of functional programming API's Syntax:
  1. dojo.lang.*
Example: dojo.lang.forEach, dojo.lang.map, dojo.lang.assert.

15) Difference between AJAX and DOJO?

Ajax is a technology like XML whereas Dojo is a JavaScript framework also the binding techniques in Dojo are under its abstraction layer.

16) Define Widget Toolkit in Dojo?

Widget is a user interface object that has a layout. In Dojo widgets are HTML+CSS bound JavaScript. Example: Tabs, Dialogue, Sorting Table etc.

17) Describe Environment Specific Libraries in Dojo?

  • Libraries provide routines for handling the environment.
  • Consist of svg, html, style and dom packages.
  • Provides some methods for arrange HTML document.
  • There are also methods for handling DOM trees and SVG models.
  • Those routines extend existing routines.

18) Write a code for widget in Dojo?

  1. <script>
  2.                dojo.require(?dojo.widget.Editor2?);
  3. </script>
  4. <!-- ... -->
  5. <textarea dojoType=?Editor2?>
  6.     ...
  7. </textarea>

19) Describe Package System in Dojo?

Package System includes only needed files. Each JavaScript file can be named as package dojo.provide(dojo.string).

20) Explain Event System in Dojo?

Event system notifies when other function is called. Any DOM object can be connected to any function dojo.event.connect(”id”, ”onClick”, listenerObj, ”handleOnClick”);.

21) Describe Application Support Libraries in Dojo?

Application Support Libraries consist of routines where IO package provides routines e.g. for AJAX binding. There is also some useful routines in logging, storage and animation packages

22) Describe Package System in Dojo?

Package System includes only needed files. Each JavaScript file can be named as package dojo.provide(dojo.string).

Related Topics

Top 16 Arduino Interview Questions for 2024

1) What is Arduino? Arduino is an open source electronic platform. It is based on easy-to-use hardware and software. It able to read input signal. It is used to write and...

2 minutes read.

Top 15 KnockoutJS Interview Questions for 2024

1) What is KnockoutJS? It is a JavaScript library which is based on MVVM pattern that helps developers in building rich and responsive websites. 2) Who is the author of KnockoutJS? Steve Sanderson is...

2 minutes read.

Top 15 Highcharts Interview Questions for 2024

1) What is Highcharts? Highcharts is a JavaScript based charting library. It is used to enhance web applications by adding interactive charting capability. Highcharts supports a wide range of charts. Charts are drawn using...

2 minutes read.

Top 14 MathML Interview Questions for 2024

1) What is MathML? MathL stands for Mathematical Markup Language. It is extended form of XML. It is used to describe mathematical and scientific notations. 2) Who is the developer of MathML? World...

3 minutes read.

Top 20 Java Programming Coding Interview Questions for 2024

Coding is an integral part of any programming language. It is the most important phase of an interview. Interviewee checks the capability of thinking of any particular. I think one...

13 minutes read.

Top 15 Servlet Interview Questions for 2024

1) What is Servlet? It is a technology used to create web applications. It is a web component which is used to create dynamic web pages. It consists of many interfaces and classess...

2 minutes read.

Top 31 Flask Interview Questions for 2024

1) What is Flask? Flask is a micro web framework written in Python. It is based on Werkzeug toolkit and Jinja 2 template engine. 2) Who is the developer of Flask? Armin Ronacher...

6 minutes read.

Top 30 Aurelia Interview Questions and Answers

1) What is Aurelia? Aurelia is an open source UI framework which is used for web and mobile app development. This framework is focused on web standards and follows simple conventions. 2) What...

2 minutes read.

Top 28 LISP Interview Questions for 2024

1) What is LISP? LISP is the high-level programming language after Fortran. LISP is stands for List Processing. This programming language was invented by John McCarthy in 1958 at the Massachusetts Institute of...

3 minutes read.

Top 30 D Programming Language Interview Questions for 2024

1) What is D programming language? D programming language is an object oriented programming language. It is created by Walter Bright of Digital Mars. It was released in 2001. 2) Who is the...

4 minutes read.

Top 30 Magento Interview Questions for 2024

1) What is Magento? Magento is an open-source content management system. It is used to create e-commerce websites. It is developed by Varien ,Inc, a US private company headquartered in Culver City, California. It...

5 minutes read.

Top 50 HTML Interview Questions for 2024

1) What is HTML? HTML stands for Hyper Text Markup Language. It is used for creating web pages and web applications. HTML documents are made up of two things: the content and the tags. 2) What are...

10 minutes read.

Top 15 Java JDBC Interview Questions for 2024

1) What are the types of JDBC Drivers in Java? JDBC Drivers are of four types are: JDBC-ODBC bridge driver Native-API driver Network Protocol driver Thin driver 2) What are the five...

4 minutes read.

Top 30 Cobol Interview Questions for 2024

1) What is COBOL? COBOL is a programming language which is used for finance, business and administrative systems for companies. COBOL is stands for Common Business Oriented Language. 2) What are the features...

4 minutes read.

Top 30 Sencha Touch Interview Questions for 2024

1) What is Sencha Touch? Sencha Touch is an UI (User Interface) JavaScript library. It is written in JavaScript. It is used to build mobile interface quickly and easily. It works...

6 minutes read.

Top 10 GWT Interview Questions for 2024

1) What is Google Web Toolkit (GWT)? GWT (Google Web Toolkit) is a development toolkit. It is used to develop Ajax web applications using Java. GWT compiler translates Java sour ce...

2 minutes read.

Top 25 MongoDB interview Questions for 2024

1) Give some history about MongoDB. MongoDB came into existence when data increased exponentially on the internet. Thus, maintainence of database became very difficult in structured DB. MongoDB is a NoSQL...

3 minutes read.

Top 31 PHP Interview Questions for 2024

1) What is PHP? PHP is a object-oriented scripting language, open source, interpreted and executed at server side. It is also used to develop web applications. 2) What are the features of PHP? Features...

4 minutes read.

Flutter Interview Questions

Here’s a list of top Flutter questions that are frequently asked. Q1.  Is Flutter an open-source? A1.  Yes, Flutter is a 100% open-source software development kit. Q2.  What are flutter widgets? A2.  Widgets are...

7 minutes read.

Top 15 Xamarin Interview Questions for 2024

1) What is Xamarin? Xamarin is a .NET framework. It allows to create an application that run on multiple platforms. Xamarin Tutorial uses C# language and .NET framework to deliver native...

2 minutes read.