JavaScript Design Patterns: Decorator Update
An update to a JavaScript Decorator pattern article, addressing community feedback and refining examples with closures.
An update to a JavaScript Decorator pattern article, addressing community feedback and refining examples with closures.
Explains JavaScript IIFEs (self-invoking functions), their syntax, benefits for avoiding global scope pollution, and use in the module pattern.
Explains the JavaScript Decorator design pattern for dynamically adding functionality to objects, with code examples.
Explains the Observer design pattern in JavaScript, covering its concepts, implementation, and use cases for decoupled event-driven systems.
Explains the Iterator design pattern in JavaScript, showing how to create and use iterator objects for consistent collection traversal.
An in-depth look at the JavaScript Singleton design pattern, covering its definition, common pitfalls, and practical use cases.
Developer open sources several past projects including Instant.fm, Fling, CMSploit, and WireSheep, encouraging others to release code.
Explains the Strategy design pattern in JavaScript with a practical game character movement example to create flexible, swappable algorithms.
A guide to implementing classic Gang of Four design patterns in JavaScript, with explanations and code examples.
Introducing Prism, a lightweight, extensible syntax highlighter for code snippets with plugin support and semantic HTML.
A technical guide explaining how to make Twitter Bootstrap's tab components bookmarkable using JavaScript and URL hash fragments.
A tutorial on creating custom jQuery Deferred objects and Promises for handling asynchronous operations like animations and AJAX.
A technical guide on extending the PageDown markdown editor to support custom image uploads via JavaScript, including async file handling.
A technical guide on setting up and testing AMD modules within a Backbone.js project using Mocha, Chai, and Sinon.
A guide to setting up and writing basic tests using the Mocha testing framework and Chai assertion library for JavaScript.
A developer considers using Disqus for blog comments, weighing its convenience against adding JavaScript and user tracking.
A tutorial covering Backbone.js basics including Events, Models, and simple data-binding with practical code examples.
A tutorial exploring the basics of RequireJS and AMD modules, including loading scripts and defining simple modules.
A technical guide to quickly complete Dropbox's 2012 Dropquest puzzle challenge using URL manipulation and JavaScript debugging to earn extra storage.
A developer shares a minimalist iPhone lock screen design using a custom template and discusses UI design for iOS.