Posts Categorized: Front-End Development

Easy JavaScriptMVC Model and Controller Access from the Chrome Dev Tools Console

Posted by & filed under Front-End Development, JavaScript.

JavaScriptMVC has some great convenience functions for accessing Controllers and Models associated with elements. These functions can really speed up development and debugging. Here I’ll show you how to use the Chrome Developer Tools’ $0 token to make these convenience methods even more convenient. First let’s look at few examples of how to use the… Read more »

JavaScriptMVC Anti-Patterns

Posted by & filed under Front-End Development, JavaScript.

In early 2011, I was faced with the task of recommending a framework for a complex JavaScript application. I resisted the urge to build my own MV* framework and instead opted to learn how to use one of the battle-tested options. I considered several frameworks including JavaScriptMVC, Backbone and KnockoutJS before ultimately deciding on JavaScriptMVC…. Read more »

iPhone-Style Alphabetical Contact List with HTML, CSS and JavaScript (jQuery)

Posted by & filed under Front-End Development, Labs.

Here’s what you’re most likely looking for – the demo and the source. Feel free to read the explanation while you’re here. Front-end developers are often called on to build UI elements that aren’t entirely original. Whether the cause of this phenomenon is a lack of creativity on the part of designers or a particular… Read more »

Responsive Web Design Using CSS3 Media Queries

Posted by & filed under Front-End Development.

Responsive web design is a type of progressive enhancement that uses fluid grids, flexible-size images and media queries to optimize a website for a users’ specific viewing context. At its core, responsive web design is about adjusting layout, typography and imagery to provide a consistent, device-independent web experience. Fluid grids and flexible size images aren’t… Read more »

HTML5 Audio Support on Android Devices

Posted by & filed under Front-End Development.

UPDATE: Here’s a new post about a cross-browser HTML5 audio player with Flash fallback that effectively solves the problem described below. In a previous post, I mentioned that I wanted to see first-hand how each browser renders default controls for the HTML5 audio element. I created a simple demo page and tested it in the… Read more »