Exploring HTML5 Canvas: Part 7 – Optimizing Animations

[This is part 7 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the … Continue reading Exploring HTML5 Canvas: Part 7 – Optimizing Animations

Exploring HTML5 Canvas: Part 6 – Managing Animated Shapes

[This is part 6 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the … Continue reading Exploring HTML5 Canvas: Part 6 – Managing Animated Shapes

Exploring HTML5 Canvas: Part 5 – Basic Animation

[This is part 5 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the … Continue reading Exploring HTML5 Canvas: Part 5 – Basic Animation

Exploring HTML5 Canvas: Part 4 – Transformations

[This is part 4 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the … Continue reading Exploring HTML5 Canvas: Part 4 – Transformations

Exploring HTML5 Canvas: Part 3 – Paths and Text

[This is part 3 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code. In Part 2, I demonstrated the … Continue reading Exploring HTML5 Canvas: Part 3 – Paths and Text

Exploring HTML5 Canvas: Part 2 – Basic Shapes

[This is part 2 of an ongoing series of posts examining the HTML5 Canvas element. In Part 1 of this series, I introduced Canvas and prepared a template to make further explorations a bit simpler, and also introduced JsFiddle, a neat tool for experimenting with and sharing web code.] The HTML5 Canvas element holds much … Continue reading Exploring HTML5 Canvas: Part 2 – Basic Shapes

Exploring HTML5 Canvas: Part 1 – Introduction

In this post, I’m going to begin an examination of one of the hottest new features of HTML5, namely the Canvas element. What is Canvas, anyway? The best place to start is at the beginning, and that’s with an explanation of what Canvas actually is. Canvas is a new element that is part of the … Continue reading Exploring HTML5 Canvas: Part 1 – Introduction

Tweaking Add Item Templates for Better Script Performance

[This is the second in a 3-part series. Part 1, “Make Script Performance Automatic with Custom Templates in Visual Studio 2010″, can be found here.] In part 1 of this series, I showed you how you can improve the script performance of your websites by using Visual Studio’s built-in support for exporting templates to create … Continue reading Tweaking Add Item Templates for Better Script Performance

Make Script Performance Automatic with Custom Templates in Visual Studio 2010

Background If you’ve ever used a tool like Yahoo!’s Yslow to analyze the performance of your web application, you’ve probably run into the recommendation that you should put your scripts at the bottom of the page, unless those scripts insert page content (a good example of this, which we’ll see later in this post, is … Continue reading Make Script Performance Automatic with Custom Templates in Visual Studio 2010

Customize Orchard CMS with the Designer Tools Module

UPDATE: I was informed by Sebastien Ros from the Orchard team that some of the code below exposed an Cross-site Scripting (XSS) vulnerability by writing out the raw value of t.TagName to the markup to be rendered by the alternate template. I’ve updated the listings (and my blog) with some code/markup suggested by Sebastien that … Continue reading Customize Orchard CMS with the Designer Tools Module