Exploring HTML Imports
A technical exploration of HTML Imports, a Web Components feature for loading external HTML documents, including basic usage and examples.
Rob Dodson is a web developer focused on building impactful web experiences with a strong passion for climate change. He shares insights on front-end engineering, climate tech careers, and sustainable technology through practical posts and real-world projects.
70 articles from this blog
A technical exploration of HTML Imports, a Web Components feature for loading external HTML documents, including basic usage and examples.
Explains the difference between CSS selectors :nth-child and :nth-of-type with practical examples.
A presentation and guide on using RequireJS and AMD modules for JavaScript dependency management and modular code organization.
Introduction to the HTML5 <template> tag, explaining its usage, pros, cons, and comparison with JavaScript template libraries.
A guide to writing asynchronous tasks in Grunt, explaining how to properly handle Node.js callbacks and streams within the Grunt build system.
A tutorial on setting up RequireJS for optimized JavaScript loading in a multi-page website, covering shim configuration and build strategies.
Explains JavaScript Factory Pattern types: Simple Factory, Factory Method, and Abstract Factory, with examples and use cases.
An update to a JavaScript Decorator pattern article, addressing community feedback and refining examples with closures.
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.
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.
A developer reflects on completing a 60-day daily blogging challenge, discussing lessons learned about writing, consistency, and contributing to the tech community.
A guide to creating and customizing code snippets in Sublime Text, including how to bind them to keyboard shortcuts.
A collection of useful tips, shortcuts, and setup advice for the Sublime Text 2 code editor, aimed at improving developer workflow.
A step-by-step guide on how to publish a Node.js module to the npm registry, covering account setup, package.json configuration, and the publish command.
A tutorial on creating and publishing a Node.js command-line script, including setting up the package.json and using npm link.
A tutorial on creating a command-line Ruby gem from scratch using Bundler and RVM, covering project setup and executable creation.