Skip to content

carmelowoodgett/dojo-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dojo-boilerplate

dojo-boilerplate is a base set of files that anyone can use to get up and running immediately with the Dojo Toolkit (DTK) when starting development of complex Web apps. It illustrates some basic best practices when working with DTK and includes a working build system with asynchronous loader (courtesy of RequireJS) for effortless development and tiny, blazing fast production builds.

Huge thanks go out to neonstalwart for his no longer maintained dojo-requirejs-template project, which was instrumental in providing guidance for integrating RequireJS with Dojo 1.6. Unlike dojo-requirejs-template, this boilerplate will be continually updated to reflect current best practices and track new releases of DTK, and we encourage everyone to submit issues and pull requests.

Potential issues

  • Current releases of DTK don’t include an asynchronous loader. We use RequireJS as a stand-in until the official loader and build system are complete. (Since both RequireJS and bdLoad both comply with the CommonJS AMD standard, you will be ready to go with no changes to your application’s code when the new official loader is ready. Yay for standards!)

  • Because DTK currently uses dojo.cache for its widget templates instead of the AMD text! plugin, those strings will end up being loaded twice. This has been reported upstream at ticket #12383.

About

A starting point for developing with Dojo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published