Skip to content

Software Development News: .NET, Java, PHP, Ruby, Agile, Databases, SOA, JavaScript, Open Source

Methods & Tools

Subscribe to Methods & Tools
if you are not afraid to read more than one page to be a smarter software developer, software tester or project manager!

The Dojo Toolkit - Announcements
Syndicate content
Unbeatable JavaScript Tools
Updated: 1 day 4 hours ago

Autumn 2014 Dojo events

Fri, 08/29/2014 - 12:45

There are a number of Dojo events this autumn. We hope to meet you at one of these events:

Dojo Community Day
  • Dojo Community Day. November 16, San Jose, CA. Free registration required. Registration details will be announced in October.
  • Intern 2. October 9, Nick Nisi, SitePen. London, UK. Free registration required.
  • Intern 2. October 16, Dylan Schiemann, SitePen. Boston, MA. Free registration required
  • Amsterdam. October 26. Details to be announced.
  • EdgeConf. September 20, Dylan Schiemann, SitePen. San Francisco. Paid registration required.
  • FullStack. October 23-24, Dylan Schiemann, SitePen. London, UK. Paid registration required
Training Workshops

Let us know if you’re speaking at an event, and we’ll add you to our listings!

Categories: Open Source, RIA

Dojo community day Switzerland

Mon, 08/18/2014 - 22:18

We recently hosted a Dojo Community Day in Brugg, Switzerland on the Saturday following a week of Dojo workshops. We had about 25 Dojo users and committers join us from England, France, Netherlands, Germany, Romania, Austria, and Switzerland for a fun day of hacking and discussions about current and future directions of Dojo.



We began the day by welcoming the group at the modern university in Brugg/Windisch and, thanks to SitePen, we had Dojo t-shirts and stickers for everyone. After some initial time to socialize and get everyone situated with wifi, I delivered a short talk on the current state of Dojo, and answered questions about the direction of Dojo. We discussed the idea that getting to Dojo 2 would mean completing the packages incrementally that we need, making them work with today’s Dojo 1.x core so people can start adopting them as they are ready, and then calling that Dojo 2 when they are all completed. For example, Intern and dstore are big parts of the Dojo 2 roadmap.

After my talk, Patrick Ruzand of IBM gave a short overview of recent changes to Dojo Mobile in 1.10, and answered a few questions about Delite/Deliteful, IBM’s early work on Dijit 2.0.

Patrick Ruzand

The purpose of the community day was then a mix of hacking and chatting. We split the room into groups based on interest, with the categories chosen as fixing bugs in 1.x, getting involved with Delite/Deliteful, and fixing documentation and tests. We landed a few pull requests from the day and closed some bugs. More importantly, we hopefully have encouraged more people to get involved and helped them understand the process a bit better.

Dojo hacking

Dojo hacking

Around lunch time, we walked to the Havanna restaurant near the river that agreed to provide wifi and a space to hack for the afternoon. We enjoyed Swiss/German food such as wienerschnitzel, while others enjoyed the Swiss take on Mexican food like fajitas and tacos. We continued talking about may different Dojo topics, and then spent a few more hours hacking on Dojo.

Dojo lunch Brugg

Dojo lunch Brugg

The main challenge with days like this is that there is never enough time. It was great meeting so many Dojo users, and catching up with several Dojo committers. We hope to run similar events later this year after other SitePen Dojo workshops.

Categories: Open Source, RIA

Case study: HPCC Systems

Thu, 07/31/2014 - 08:01

The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview Gordon Smith from HPCC Systems, a subsidiary of LexisNexis RISK Solutions.

Q: How did you first learn about Dojo?

A: Through Google / Stack Overflow. I suspect my “discovery” of Dojo was a bit different to the norm, as prior to 2013 I had never really done any Web Development. Up until then I was predominantly a C++ Developer, some Java and a smattering of C#. Initially I wanted to knock together a single page proof of concept, consisting of a code editor (CodeMirror), a result view (HTML Table) and an “activity graph” (ActiveX Control) and wanted something that would handle the layout, resizing and ideally something with splitters – after a few searches online I found the Border Container Docs and away I went! Shortly after, I added a Tab Container and switched to using the basic Grid.

ECL Playground

ECL Playground – How the original POC Looks today

Q: Why did you choose Dojo?

A: After the initial success of the proof of concept, we took stock of our existing web application and decided that a rewrite would be in order, at this stage I did stop and take a longer look at what was available and quickly came to the conclusion that it would be jQuery or Dojo. Dojo won out for a number of reasons, chief of which was how the core libraries had been architected, as well as their attention to “core” details, like AMD, OOP, localization and accessibility. I was also satisfied that we could use Dijit for the App layout and common widgets, while being able to drop in any other “best of breed” page elements as needed.

Q: Were you previously using another toolkit?

A: We had been using XSLT to generate our pages and a small amount of YUI for some of the newer work.

EPC Before


EPC After


Q: What does your application or service do?

A: The HPCC Platform (High Performance Computing Cluster) is a massive parallel-processing computing platform that solves Big Data problems. It has been in development for more than thirteen years and was open sourced just over three years ago now. We call the web application “ECL Watch” (ECL is our declarative data processing language), and it allows the user to:

  • Submit, Monitor and Manage ECL jobs.
  • Load, unload and manage raw and processed data (files).
  • General configuration and operational management.
ECL Workunit

A single ECL “Workunit” making heavy use of the TabContainer

Q: How does your application use Dojo?
  • A: It uses AMD and Declare to enforce well organized and encapsulated coding.
  • Our platform primarily uses SOAP/JSON/REST style messaging, so we make heavy use of Request, Deferred and Stores.
  • Dijit Layouts – The Border Container and Tab Container are always at the foundation of any new Widget/Page we write.
  • Dijit Widgets – Both the usage of the built in widgets as well as the framework for extending and writing out own widgets – every visual page we design is done as a “plugable” widget, and as such can be opened in different parts of the Web Application as well as in a separate browser window (very useful for emailing links to colleagues).
  • The rest – it’s hard to list specific items here as we pretty much use it all… dojo/topic and /dojo/aspect would get honourable mentions as they have allowed some elegant solutions to some tricky design challenges we faced. dojo/aspect helped workaround some ActiveX/NPAPI browser specific inconsistencies, by intercepting and altering specific DOM Class changes to widgets (all within a single function). While dojo/topic (along with dojo/Stateful / dojo/store.notify) helped ensure there was no assumption about what sets of widgets were loaded at any given time and keeping all related widgets in sync.
Q: Overall what is your user experience with Dojo?

A: On the whole it has been a very positive experience, it does have a moderate to steep learning curve, but no harder than any other “significant” framework. As I switch to/from my C++/Java work, it is interesting that I seem to miss more of the patterns I have learnt while using Dojo than the other way around. I suspect I will be implementing a variant of the Deferred/promise pattern in the near future!

Q: What’s your favorite thing about Dojo?

A: The AMD loader and OOP support – Personally I find it all too easy to write hard to maintain code in JavaScript (especially as a novice), but with the AMD/OOP support I was able to continue to “think”, organise and encapsulate in a similar fashion to my C++/Java work.

Q: What are your future plans with Dojo?

A: We still have a small amount of work todo in converting our existing Web App, but once that is done the plan is start optimising the users workflow, this will mean developing new and better interfaces, so lots of Widget work. We have already started to integrate visualisations using d3.js (as widgets) and I hope that Dojo 2.0 (and the new related SitePen work) gets released at a convenient time in our release cycle so we can be early adopters.

ECL Treemap


ECL Landing Zones

Landing zones

ECL Graphs


ECL Visualizations


ECL User Permissions

User permissions

ECL i18n



Thanks Gordon for telling us about your experience with Dojo. If you would like to share your experience with Dojo, please contact us.

Categories: Open Source, RIA

Case study: FreeNAS

Wed, 06/18/2014 - 13:45

The large companies that use Dojo are widely known. This series features lesser known users of Dojo, and their stories. This time, we interview William Grzybowski from iXsystems, a California-based company and creators of FreeNAS.

FreeNAS Add User

Q: How did you first learn about Dojo?

A: Around Dojo 1.3. I was tasked to write a tree menu and I was pointed to a Dojo example of the dijit/tree. The learning curve was higher compared to other simple frameworks but it was totally worth it.

Q: Why did you choose Dojo?

A: We were looking for a JavaScript toolkit capable of build an UI-rich application, Dojo did stand up due to its great documentation, active community and BSD License.

Q: Were you previously using another toolkit?

A: I have used jQuery UI and Bootstrap, but I think Dojo is a much better fit for our use case, the default functionality and modules are beyond what I have ever seen before.

Q: What does your application or service do?

A: FreeNAS enables users to build network-attached-storage (NAS) on nearly any hardware platform of their choosing. The FreeNAS project and software were founded in 2005 on the principle that network storage be made available to the world at no cost and unencumbered by license restrictions.

Watch a video demo of FreeNAS

Q: How does your application use Dojo?

A: Dojo is used as the central part for FreeNAS WebGUI. it is a Rich Internet Application (RIA) so it is used for everything: base layout, tree menu, menu bars, dialogs, form elements. We have developed our own widgets for the volume manager, cron job task schedule, web shell, unix path selector, among others.

We feature a RESTful API written in Python/Django which is also consumed in our dgrid datagrids using dojo/store/JsonRest.

Q: Overall what is your user experience with Dojo?

A: Dojo has exceeded my expectations in every way. The documentation is terrific, I can always find everything I need there, without the need of looking through the source code. I have found the community support is also something to account for, there is always someone willing to help, either in IRC channels or in the mailing list.

Q: What’s your favorite thing about Dojo?

A: The modularity is my favorite feature of Dojo. One can easily extend any component to fulfill his needs. The source code is extremely clean, which makes the task even easier.

Q: What are your future plans with Dojo?

A: Next projects will definitely give Dojo a serious consideration as it has proven to be a very nice piece of software. I would like to leave here my sincere thank you for every single Dojo developer. Keep up the good work!


Thanks William for telling us about your experience with Dojo. Checkout more FreeNAS screenshots to learn more about the application. If you would like to share your experience with Dojo, please contact us.

Categories: Open Source, RIA

Dojo turns (1.)10

Mon, 06/16/2014 - 13:04

Ten years ago, we humbly started a project to create a “next generation DHTML toolkit”, based on an initial email, Selling the future of DHTML. Today, we are pleased to announce the immediate release of Dojo 1.10, our 16th major release of the toolkit!

Release Notes and Documentation

Dojo 1.10 is primarily a stability and bug fix release, with over 275 issues resolved. Read the Dojo 1.10 release notes for the complete list of what’s new and improved in 1.10. API features and enhancements primarily occurred within the following areas:

  • Core (DOM, events, request, WebWorkers, etc.)
  • Dijit
  • dojox/charting and dojox/gfx
  • dojox/app
  • dojox/calendar
  • dojox/mobile (including an iOS 7 theme)
  • dojox/store (offline store supporting WebSQL and IndexedDB support)
  • Uglify 2 support for Dojo builder

The tutorials, reference guide, and API viewer have also been updated for the 1.10 release.

Use Direct from the CDN, or Download

Get the Dojo release that’s right for you. Choose from CDN, optimized builds, or source versions with full demos and utilities.

Get Dojo


The new dstore project is being worked on as the eventual successor to dojo/store. It works with Dojo 1.8+, but is intended to also define the object store APIs for Dojo 2. Tutorials and documentation will accompany the dstore 1.0 release that is expected in a few weeks. Read the Looking ahead with stores blog post for more details on the direction of this module.


As reminder, while the source code is still available for DataGrid and EnhancedGrid, these modules are formally deprecated. We instead recommend that you use dgrid or gridx.

dgrid 0.4 is currently under development, and will be the first component to leverage the new dstore API.


Intern is the replacement for DOH. Work is currently underway to update all DOH tests in Dojo core and Dijit to use Intern, to make it easier to prevent regressions with Dojo 1.x releases. You can learn more about Intern via the Intro to Intern webcast, and also read What’s next for Intern and the 2.0 release that is expected soon.

What’s Next? 1.10.1, 1.11, and 2.0

We continue working on Dojo 2.0. We continue to issue periodic maintenance releases on 1.4+, primarily to fix issues when new browsers are released. We will likely will have a 1.11 release for anything that might change or enhance an API, or backport key improvements made for 2.0.


This release would not have been possible without significant contributions from the Dojo team. Special thanks to everyone who helped make this release possible, including:

  • Adrian Rakovsky
  • Adrian Vasiliu
  • Akira Sudoh
  • Alexander Kaidalov
  • Allen Shiels
  • Avraham Rozenzweig
  • Ben Hockey
  • Benjamin Santalucia
  • Bill Keese
  • Brandon Payton
  • Bryan Forbes
  • Christophe Jolif
  • Chuck Dumont
  • Clement Mathieu
  • Colin Snover
  • Damien Garbarino
  • Damien Mandrioli
  • Dasa Paddock
  • Douglas Hays
  • Dylan Schiemann
  • Ed Chatelain
  • Ed Hager
  • Eduardo Matos
  • Eric Durocher
  • Erwin Verdonk
  • Gabriel Aszalos
  • Gaurav Ramanan
  • Heng Liu
  • Hugh Winkler
  • James Morrin
  • Jochen Schäfer
  • Joerg Sonnenberger
  • Julien Mathevet
  • Justin Bumpus-Barnett
  • Kitson Kelly
  • Kris Zyp
  • Lajos Veres
  • Lamiaa Said
  • Lee Bodzak
  • Lorenzo Solano
  • Mangala Sadhu Sangeet Singh Khalsa
  • Mark Hays
  • Mark Szymanski
  • Matthew Maxwell
  • Mustafa Celik
  • Nick Nisi
  • Pascale Dardailler
  • Patrick Ruzand
  • Peter Kokot
  • Philip Jägenstedt
  • Rawld Gill
  • Scott Davis
  • Sebastien Brunot
  • Sebastien Pereira
  • Semion Chichelnitsky
  • Simon Speich
  • Stephen Davis
  • Stephen Simpson
  • Steve Hearnden
  • Terence Kent
  • Tim Roediger
  • Virgil Ciobanu
  • Vitaly Trushkov
  • Wouter Hager
  • Youngho Cho

We also thank AltoViso, IBM, SitePen, and TimeTrade for their generous contributions of development time and financial support.

Dojo community day!

We’re hosting a free Dojo community day in Switzerland on July 5th, and plan to host similar events in other locations later this year. If you cannot make it to Switzerland, we still encourage you to join us on the #dojo IRC channel ( for an afternoon of hacking. We’ll be online from approximately 9am – 6pm in Switzerland. Or join us at another Dojo event this summer.


We hope you’ll find Dojo 1.10 to be exceptionally stable and reliable. Please let us know if you run into any issues by opening a ticket. If you find a problem in the documentation, you can also provide feedback via the link at the bottom of every page. We also encourage you to get involved, to help improve Dojo and to work on Dojo 2.0. We hope you find value in using Dojo 1.10!

Categories: Open Source, RIA

Summer 2014 Dojo events

Sun, 06/15/2014 - 17:13

There are a number of Dojo events this summer. We hope to meet you at one of these events:

Dojo Community Day
  • Dojo Community Day. July 5th, Brugg, Switzerland. Free registration required.
  • Dojo Community Day. September 27, Ottawa, ON. Free registration required. Registration details will be announced in July.
Training Workshops

Let us know if you’re speaking at an event, and we’ll add you to our listings!

Categories: Open Source, RIA