×

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 26 CouchDB interview questions for 2024

1) What is CouchDB? CouchDB is a document typed database server which can be accessed through RESTful JSON API. It is a schema free and Ad-hoc database with a flat address...

4 minutes read.

Top 31 Dart Programming Interview Questions for 2024

1) What is Dart? Dart is an application programming language. It is used to build web, server and mobile applications. 2) Who is the developer of Dart? Google is the developer of Dart. 3)...

6 minutes read.

Top 14 Materialize CSS Framework Interview Questions for 2024

1) What is Materialize? Materialize is a CSS framework that contains library file. It is created with CSS, JavaScript and HTML. It helps to create attractive, reliable and functional web pages...

7 minutes read.

Top 32 Laravel Interview Questions for 2024

1) What is Laravel? Laravel is an open source PHP framework. It is used to design and develop web applications. It is based on MVC (Model-View-Controller) design pattern. It is created by Taylor...

6 minutes read.

Top 13 SAS Interview Questions for 2024

1. What is SAS and its functions? SAS (Statistical Analysis System) is statistical software designed by SAS Institute in 1960 for data inspection and report writing. SAS runs on Windows, UNIX...

5 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.

Ember.js Interview questions

1) What is Ember.js? Ember.js is a JavaScript front-end Framework. It provides developer both features for managing complexity in modern web-apps as well as integrated development kit. 2) Why choose Ember.js? Logical...

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

4 minutes read.

Top 15 SQL Server Interview Question for 2024

1) Describe SQL Server? SQL server is a DataBase Management System developed by Microsoft. It was first introduced in year 2008 since, then many version has been introduced such as :...

2 minutes read.

Top 15 Framework7 Interview Questions for 2024

1) What is Framework7? Framework7 is an open source mobile HTML framework. It is used todevelop hybrid mobile apps for iOS and Android devices. 2) Why, framework7 is popular? There are various reasons...

8 minutes read.

Top 12 Docker Interview Questions for 2024

Most frequently asked Docker Interview Questions and Answers for Fresher 1. What is Docker? Docker is a new form of Software Containerization in the field of IT. It is an open-source container...

4 minutes read.

Top 15 Java OOPS Interview Questions for 2024

1) What are the advantages of Java Package? Advantages of Java package are: Provides access protection Removes naming collision Easily maintained 2) What are the types of Access Modifiers in Java? Two types...

4 minutes read.

Top 15 Data structure & Algorithm Interview Questions for 2024

1) What is Data Structure? Data structure is a way of storing, collecting and organizing data into the main memory. It makes data access more efficient and increase performance. Array, List, Queue...

3 minutes read.

Top 15 Meteor Interview Questions for 2024

1) What is Meteor or MeteorJS? Meteor is a JavaScript platform used for developing web and mobile applications. Applications develop using Meteor framework supports different platforms (like windows, android, ios). Meteor...

4 minutes read.

Django Interview Questions for 2024

Django is an open-source python web framework. It is very popular due to the functionalities it offers. It uses the Model-View-Template architecture. Many giant organizations are using Django as their...

10 minutes read.

Top 30 JSF Interview Questions for 2024

1) What is JSF? JSF stands for Java Server Faces is a Java-Based web application framework. JSF (Java Server Faces) provides a facility to connect UI widgets with data sources. 2) What are...

4 minutes read.

Top 28 Angular 2 Interview Questions for 2024

1) What is Angular 2? It is an open source JavaScript framework which is used to build web applications in JavaScript and HTML. It is also used to overcome obstacles encountered while...

4 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.