Permalink

24

Backbone Fundamentals – A Free Work-In-Progress Book For Developers Of All Levels

Read Later submit to reddit

About a week ago, I began working on a new article about Backbone.js. It was due to cover some concepts and insights intermediate or advanced users might appreciate, but I found myself wanting to reference topics beginners might need to … Continue reading

Permalink

2

GitHub Watchers – An Embeddable GitHub ‘Watchers’ Button For Your Site

Read Later submit to reddit

These days we have embeddable share and follower buttons for almost every aspect of the web, except of course for GitHub. I wanted to help remedy that, so over the weekend I created a customizable JavaScript button (that uses the … Continue reading

Permalink

20

Building Mobile JavaScript WebApps With Backbone.js & jQuery: Part I

Read Later submit to reddit

Welcome to Part 1 of a two-part tutorial on building complete mobile web applications in JavaScript using DocumentCloud's Backbone.js, jQuery Mobile and LABjs. In Part 1, I'll be covering a complete run-down of Backbone 0.5.2's models, views, collections and routers … Continue reading

Permalink

5

Exploring The Decorator Pattern In JavaScript & jQuery

Read Later submit to reddit

Today we'll be taking a look at the decorator pattern, a structural pattern that promotes code reuse and is a flexible alternative to subclassing. This pattern is also useful for modifying existing systems where you may wish to add additional … Continue reading

Permalink

0

Managing JavaScript Application Resources with the Flyweight Pattern

Read Later submit to reddit

In design patterns, the flyweight is considered one of the most useful classical solutions for code that's repetitive, slow and inefficient – for example: situations where we might create large numbers of similar objects. It's of particular use in JavaScript … Continue reading