Permalink

16

Learning JavaScript Design Patterns – An Updated Free Book For Developers

Read Later submit to reddit

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 this, I wrote a … Continue reading

Permalink

44

Essential JavaScript Namespacing Patterns

Read Later submit to reddit

In this post, I'll be discussing both intermediate and advanced patterns and approaches for namespacing in JavaScript. We're going to begin with the latter as I believe many of my readers have some prior experience in this area. If however … 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

Permalink

2

Understanding the Publish/Subscribe Pattern for Greater JavaScript Scalability

Read Later submit to reddit

Design patterns are an invaluable tool for modern JavaScript developers, providing us with generalized reusable solutions to commonly occurring problems in application design that we can apply to our own problems. In addition, they provide the community with a common … Continue reading