preview

Difference Between Dojo And Gadjo

Decent Essays

Comparision of AngularJS with enterprise toolkits like DOJO
Dojo Toolkit:

(quoting from https://en.wikipedia.org/wiki/Dojo_Toolkit)
Dojo Toolkit is an open source modular JavaScript library (or more specifically JavaScript toolkit) designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites. Dojo is a Javascript framework targeting the many needs of large-scale client-side web development. For example, Dojo abstracts the differences among diverse browsers to provide APIs that will work on all of them. It establishes a framework for defining modules of code and managing their interdependencies; it provides build tools for optimizing JavaScript and CSS, generating documentation, and unit testing; …show more content…

Dojo’s UI Library is called Dijit and lives as a separate namespace “ dijit”.

Angular does provide a UI widget toolset but not as extensive as to what Dojo provides. Angular allows to use any of the popular third party UI libraries. Angular provides a UI library named “Angular-UI” that contains different widgets, modules that encompass popular 3 rd party libraries and UI-Bootstrap module that exposes all of the Bootstrap framework widgets as angular directives.

Since Dojo is a toolset, each of its tools can be used in isolation without requiring a Dojo ecosystem around it and hence Dojo's Dijit and other popular UI and widgets library like JqueryUI and other jquery or js plugins, can be used in an Angular application by wrapping them in directives.

RESTful Interation
AngularJS provides RESTful interation through the usage of angular-resource (ngResource) module that represents a REST resource and provide helper methods (GET/POST/PUT/DELETE) for performing RESTful interaction easily. Other alternative modules are also …show more content…

Some of these provisions are:

AngularJS encourages and enforces to minimize DOM manipulations and recommends to perform DOM manipulation only from directives that can be used in HTML thus avoiding spaghetti code resulting from extensive DOM manipulations and DOM events etc. that are hard to debug and trace in large web applications. Angular directives also help to increase the semantics of the HTML.
Angular provides features like modules that lets the application developer package different parts of the application logic as modules to increase modularity and maintainability of the application.
Angular provides features like DI (Dependency Injection) design pattern inherently that help in maintaining modularity and comprehensibility of the application.
Project structure scaffolds are available for AngularJS for development of maintainable enterprise web application.
Dojo does not provide mechanisms to minimize DOM manipulations and thus for large web applications, DOM manipulations tend to increase the chances of “spaghetti” code in the application and thus it affects the maintainability of the application. Dojo supports modules (AMD) but does not provide the DI pattern for the web application. (quoting from

Get Access