Erick Wendel
10 must-know design patterns for JS Devs
#1about 5 minutes
Introduction to JavaScript design patterns
The talk addresses common issues in JavaScript development like single-file apps and global state by applying established design patterns.
#2about 3 minutes
Organizing code with a service, view, and controller
Refactor a single-file application into separate service, view, and controller layers using the single responsibility principle and a factory for instantiation.
#3about 3 minutes
Using the abstract factory for multi-platform support
The abstract factory pattern enables sharing a common codebase across different platforms like web and command-line by abstracting platform-specific implementations.
#4about 2 minutes
Building complex objects with builder and fluent interface
The builder pattern simplifies the construction of complex objects by breaking it into steps, while the fluent interface pattern allows for chainable method calls.
#5about 2 minutes
Creating robust tests with the test data builder pattern
The test data builder pattern helps create maintainable tests by centralizing the creation of mock data and entities for various test scenarios.
#6about 2 minutes
Implementing the observer pattern for event-driven code
The observer pattern allows multiple objects to subscribe and react to events, decoupling the publisher from its subscribers for tasks like logging and analytics.
#7about 4 minutes
Injecting logic dynamically with the decorator pattern
Implement the decorator pattern in vanilla JavaScript to add functionality like performance measurement to existing functions without altering their core logic.
#8about 4 minutes
Processing large datasets with the iterator pattern and streams
Use the iterator protocol with streams and the `yield` keyword to process data on demand, preventing UI blocking and improving performance with large datasets.
#9about 3 minutes
Audience Q&A on patterns, typescript, and frameworks
The speaker answers audience questions about private class fields, using patterns with frameworks like React Native, and the rationale for teaching vanilla JavaScript over TypeScript.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
05:07 MIN
The World Wide Web era of scalability and design
Closing Keynote by Joel Spolsky
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:07 MIN
Using design patterns as a common language
The Lifehacker's Guide to Software Architecture
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
04:53 MIN
Leveraging design patterns and schemas for consistency
Resolving technical debts in software architecture
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
02:05 MIN
Understanding the origins and limits of design patterns
Intentional Code - Minimalism in a World of Dogmatic Design
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
03:12 MIN
Applying key architectural patterns for modernization
Enhancing Developer Experience During Architecture Modernization
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
02:17 MIN
How to introduce new patterns like event sourcing
Seven Myths, Three Reasons, One Goal
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:46 MIN
Proposing new patterns for enterprise Python development
Enterprise Python: Software That Lives Long And Prosper
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:15 MIN
Using design patterns as refactoring goals
What you can learn from an open-source project with 500 million downloads
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
Featured Partners
Related Videos
Micro-frontends anti-patterns
Luca Mezzalira
A Guide To Functional Programming
Jemima Abu
Design Principles For The Web
Jeremy Keith
Things I learned while writing high-performance JavaScript applications
Michele Riva
What the heck do "declarative" and "reactive" actually mean?
André Kovac
Test Driven Development with JavaScript
Sascha Depold & Parinaz Roghany
Micro-frontends anti-patterns
Luca Mezzalira
The Naked Web Developer: Your Browser Is Your Framework
Avichay Eyal
Related Articles
View all articles


.png?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript


JO Media Software Solutions GmBh
Brunn am Gebirge, Austria
Senior
CSS
Angular
JavaScript
TypeScript

Saby New Compy
Bielefeld, Germany
Intermediate
Java
Kotlin

tarent solutions GmbH
GIT
HTML
Vue.js

tarent solutions GmbH
GIT
HTML
Vue.js

tarent solutions GmbH
GIT
HTML
Vue.js
