Clean JS Dependency with RequireJS

Note: this is an archived site. The current site can be found at
Doheny Beach A

This is a decidedly non-Drupal talk. I intend to talk about modular Javascript and JS Dependency loading. There are several schools of thought on the subject but I like RequireJS and Async Module Deployment (AMD) so that is what I will be talking about. I it all about me after all.

/* ---
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.
IE 6+ .......... compatible ✔
Firefox 2+ ..... compatible ✔
Safari 3.2+ .... compatible ✔
Chrome 3+ ...... compatible ✔
Opera 10+ ...... compatible ✔
Get started then check out the API.
--- */

As you can see RequireJS is compatible with modern browsers and versions of browsers that you don't want to work with any more. What it does is handle the requirements for your code so that you don't have to worry about what JS libraries you have loaded. Come to this session and I will tell you how to use it.

Code and Development
One hour