The Once And Future Script Loader 4.15 http://spkr8.com/t/7931

  • Me11-tiny Kyle Simpson 3.97

Description:

Like the tales of King Arthur, the history, mythology, and lore of script loaders is teeming with both fact and fiction. If we're going to achieve the destiny of true web performance optimization in our page loads, we're going to have to separate the myths from the truths.

We're going to take a brief look at the history of script loading techniques, looking at what survived and what didn't, and why. We'll also look at some of the techniques that are still around but shouldn't be!

Then we're going to jump into a broad review of current script loading techniques. We'll cover from the very basic single-script snippets (like the "async snippet" from Google Analytics), to general script loaders like LABjs and HeadJS (and several others). We'll also look at task-specific script loaders such as those found in frameworks (Dojo, YUI, etc). Our goal will be to identify the characteristics of each loader and loading technique, to give you solid information you can use when choosing the right script loader for your sites.

We'll also survey the current state of browser technology and the HTML specification standards for these loading techniques, and also talk briefly about where those things are headed in the future.

Finally, we'll gaze into the crystal ball to look at the future of advanced use-cases for script loading, such as module dependency (RequireJS) and deferred script execution (ControlJS), as well as upcoming ES-Harmony Modules. We'll talk about why these things are so valuable, and give you practical do's and don'ts for implementing these techniques right now.

More than just a technical talk (although there's plenty of code!), this is a talk for advocacy and awareness among the developer community on the topic of efficient and performant script loading, and what members of the community can do to become involved in shaping the next generation of script loading technology.

The rich history, diverse current state, and bright future for script loaders is both technically challenging and highly rewarding in performance gains, if you accept the quest.

Comments on this Talk

Open-uri20110626-13869-1429euy-0 robbiethegeek, 09 Jul 08:38 PM

Good way to start the day, thanks for your presentation :)

Avatar-missing-icon-04 furf, 12 Jul 02:51 PM

Great talk, not only about script loading but also the technical hurdles and learning curve of maintaining a widely used JavaScript library and a rallying cry for community activism to hold browser manufacturers accountable to developers. Thanks for the presentation and thanks for LABjs :)

Have an account? Sign in or register.

Leave a Comment

15 Ratings: 4.15

Delivery: 4.17

Content: 4.14

Last Five Ratings