Permalink

22

Faster JavaScript Memoization For Improved Application Performance

Read Later submit to reddit

Whilst not new by any means, memoization is a useful optimization technique for caching the results of function calls such that lengthy lookups or expensive recursive computations can be minimized where possible. The basic idea is that if you can … Continue reading

Permalink

16

Patterns For Large-Scale JavaScript Application Architecture

Read Later submit to reddit

Today we're going to discuss an effective set of patterns for large-scale JavaScript application architecture. The material is based on my talk of the same name, last presented at LondonJS and inspired by previous work by Nicholas Zakas. To continue … Continue reading

Permalink

31

Avoiding The Quirks: Lessons From A JavaScript Code Review

Read Later submit to reddit

I was recently asked to review some code for a new JavaScript application and thought I might share some of the feedback I provided as it includes a mention of JavaScript fundamentals that are always useful to bear in mind. … Continue reading

Permalink

14

The Developer’s Guide To Writing Cross-Browser JavaScript Polyfills

Read Later submit to reddit

I believe it's one of our responsibilities as designers and developers to both advocate for best practices and encourage others to make the leap to using modern features for a modern web. At the same time, we need to do … 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