Quantcast
Channel: Addy Osmani » javascript
Browsing all 12 articles
Browse latest View live

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 Article



Unit 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 Article

Building 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 Article

Understanding 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 Article

Discussing 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 Article


JavaScript 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 Article

Digesting 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 Article

Journey 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 Article


Writing 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 Article


A 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 Article

Gone 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 Article

Slides: 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
Browsing all 12 articles
Browse latest View live




Latest Images