by David Geary
Before the web, software developers implemented what we now refer to as desktop applications, using powerful graphics APIs that gave them the ability to program pretty much anything they could imagine. Then along came browsers with virtually no standard graphics support at all. Enter boring web applications, and dull work for developers.
But now, with HTML5 Canvas, developers have a powerful graphics API that lets them develop mind-blowing applications. Now you can implement desktop-like applications that run in a browser. In this session, you’ll see how.
This talk is a demo-fueled, fast-paced introduction to HTML5 Canvas. You’ll get an overview of the Canvas API, and see how you can use it to draw, manipulate images, and implement sprite-based animation. You will get a feel for what you can do with this powerful API, and you’ll get a basic understanding of how to harness that power.
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’ll first survey the history of script loading techniques, looking at what survived and what didn’t, and why.
Then we’re going to jump into a broad review of current script loading techniques, including both general and task-specific loaders. Our goal will be to identify the characteristics of each loader and loading technique, to find solid information for choosing the right script loader for your sites.
We’ll also discuss the current state of browser technology and the HTML specification standards for these loading techniques, and talk briefly about where those things are headed in the future. Most importantly, the community will be challenged to get involved in defining the next generation of 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.
I’d like to introduce Mojito, Yahoo!’s nascent web presentation framework that takes advantage of these two runtimes in a unique way. The core of the web framework deploys itself from the server runtime into the browser runtime, allowing Mojito programmers to write web modules that can be executed agnostically within either runtime. This opens up interesting client-server integration possibilities, and ways to decide at runtime in which context user code will be executed.
In this talk, I’ll introduce the concepts behind this framework and talk about the architecture and design behind it. I’ll also discuss the possibilities it introduces for bringing client and server closer together.
18th–20th September 2011