Learning JavaScript Design Patterns – An Updated Free Book For Developers
Over the past year or so I've been actively trying to encourage more developers to invest time in learning about the benefits of design patterns and how they can be applied to JavaScript. To help with...
View ArticleUnit Testing Backbone.js Apps With QUnit And SinonJS
This article will be appearing in my forthcoming book on Backbone.js and continues the section on unit testing. We previously looked at Jasmine and will now look at QUnit and SinonJS. QUnit is a...
View ArticleBuilding Backbone.js Apps With Ruby, Sinatra, MongoDB and Haml
Introduction In this post we're going to explore writing Backbone.js applications with a Ruby back-end. To assist with this, we're going to use Sinatra – a DSL (domain specific language) for rapidly...
View ArticleUnderstanding MVVM – A Guide For JavaScript Developers
MVVM (Model View ViewModel) is an architectural pattern based on MVC and MVP, which attempts to more clearly separate the development of user-interfaces (UI) from that of the business logic and...
View ArticleDiscussing JavaScript Design Patterns On JavaScript Jabber
I was lucky enough to be on the JavaScript Jabber podcast this week, discussing JavaScript Design Patterns. It was a fun hour and we talked through a number of architectural patterns, TodoMVC and one...
View ArticleJavaScript Style Guides And Beautifiers
Today we're going to explore JavaScript style guides, specifically: their importance, style guides worth reviewing and tools that can assist in automated code beautification or style enforcement. What...
View ArticleDigesting JavaScript MVC – Pattern Abuse Or Evolution?
In my talk from London Ajax, we'll explore the current state of MVC in the JavaScript community, how Smalltalk-80's MVC differed and whether modern frameworks abuse (or evolve) the MVC pattern. We'll...
View ArticleJourney Through The JavaScript MVC Jungle
When writing a web application from scratch, it’s easy to feel like we can get by simply by relying on a DOM manipulation library (like jQuery) and a handful of utility plugins. The problem with this...
View ArticleWriting Fast, Memory-Efficient JavaScript
JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications. As you develop, if you care about memory usage and performance,...
View ArticleA Few New Things Coming To JavaScript
I believe the day-to-day practice of writing JavaScript is going to change dramatically for the better when ECMAScript.next arrives. The coming year is going to be an exciting time for developers as...
View ArticleGone In 60 Frames Per Second: A Pinterest Paint Performance Case Study
In my new article with Paul Lewis on Smashing Magazine, we discuss how to improve the paint performance of your websites and Web apps. This is an area that we Web developers have only recently started...
View ArticleSlides: JavaScript Memory Management Masterclass
Presented at at the Google WebPerf Special (London WebPerf Group), August 26th 2014. Efficient JavaScript webapps need to be fluid and fast. Any app with significant user interaction needs to consider...
View Article
More Pages to Explore .....