Dojo 2 Rebuilt With New CLI
Dojo 2 Rebuilt With New CLI
Written by Kay Ewbank   
Tuesday, 15 May 2018

There's a new version of Dojo, the JavaScript framework, that has been rewritten and comes with with a new CLI, and utilities for connecting Dojo to popular standards and utilities.

dojologo

 

Dojo was the first open source JavaScript framework, and release 2 makes use of  ES2015+, TypeScript, and other modern and emerging standards and best practices. Its aim is to make code interoperable to prevent developers from being locked into the specifics of any one framework. It has a component-based architecture and virtual DOM.

The developers say they want to make it easy to use features such as web components, and emerging web standards such as Intersection Observers, Resize Observers and Web Animations while preserving an efficient, reactive architecture. They say that consistently aligning with modern standards is the best option for extending the longevity of applications you create.

The new version includes reactive, virtual DOM-based widget system. Widgets are the basic building blocks of Dojo 2’s user interface. They combine both the visual and behavioral aspects of a component into a single element. These aspects are encapsulated within the widget’s implementation. The widget system includes meta providers to preserve reactivity for things like animations, focus, and resize events.

The new CLI is described as a collection of packages, providing a CLI architecture enabling a modular approach to create and work with commands. There's CLI tooling to create optimized applications that automatically have code splitting and build time rendering provided.

Another improvement to the new version is cleaner support for web components including full support for importing and exporting custom elements for use within Dojo 2 and other frameworks.

A predictable, consistent state container for JavaScript applications has also been added. The developers have used ideas from the architectures of Redux and Flux when designing the container, including built-in support for common patterns, asynchronous behaviors, and undo.

 

dojologo

 

More Information

Dojo Site

Related Articles

JQuery And Dojo Foundations To Merge

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on, Twitter, FacebookGoogle+ or Linkedin.

 

Banner


Online Master Of Computer Science Degrees From Coursera
15/05/2018

Both the University of Illinois and Arizona State University are now offering Master's degrees in Computer Science in partnership with Coursera. Is gaining an online masters a worthwhile undertaking?

 [ ... ]



Facebook Advances in AI At F8
04/05/2018

Facebook is one of the big technology companies that is making a big investment in AI and at F8 it was ready to share some of its latest progress. The good news is that Facebook is open-sourcing its A [ ... ]


More News

 

justjsquare

 



 

Comments




or email your comment to: comments@i-programmer.info

 
 

   
Banner
RSS feed of news items only
I Programmer News
Copyright © 2018 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.