Load external JavaScript libraries on demand with Dojo 1.5

And reduce your web application's load time

From the developerWorks archives

Nick Maynard

Date archived: January 4, 2017 | First published: March 27, 2012

Dojo is an excellent library for creating Rich Internet Applications. However, complex Web 2.0 applications often require more than just one JavaScript library, and loading numerous libraries on page load can introduce performance overhead. In this article, learn how to use Dojo's dojo.io.script method for asynchronous, on-demand loading of JavaScript libraries. Example code helps you concisely "wrap" loading of external JavaScript libraries.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.

Zone=Web development
ArticleTitle=Load external JavaScript libraries on demand with Dojo 1.5