DEV Community

# patterns

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
The Publisher Subscriber pattern

The Publisher Subscriber pattern

15
Comments 4
5 min read
Do you use form objects in your Rails apps?

Do you use form objects in your Rails apps?

11
Comments 1
3 min read
Takeaways from reading Software Architecture Patterns

Takeaways from reading Software Architecture Patterns

10
Comments
2 min read
Repository Pattern

Repository Pattern

5
Comments
2 min read
Software Patterns: Composition vs Inheritance

Software Patterns: Composition vs Inheritance

8
Comments
3 min read
Avoid use IF on our JS scripts

Avoid use IF on our JS scripts

284
Comments 48
5 min read
Technology design patterns in every day of life - Part 1

Technology design patterns in every day of life - Part 1

8
Comments 1
4 min read
Repository/Service pattern, did it finally click?

Repository/Service pattern, did it finally click?

12
Comments
1 min read
The Builder Pattern in Dart

The Builder Pattern in Dart

21
Comments 1
5 min read
Nodejs Design Pattern

Nodejs Design Pattern

19
Comments
8 min read
Derek Banas: UML 2.0 Tutorial

Derek Banas: UML 2.0 Tutorial

4
Comments
1 min read
Render as you Fetch Pattern in React with SWR

Render as you Fetch Pattern in React with SWR

45
Comments
6 min read
Chain of responsibility pattern

Chain of responsibility pattern

9
Comments
1 min read
Implementing View Types in Python

Implementing View Types in Python

6
Comments
3 min read
Event Sourcing Pattern

Event Sourcing Pattern

15
Comments 2
1 min read
Laravel Repository Pattern

Laravel Repository Pattern

50
Comments 9
3 min read
The Bridge Pattern - Design Patterns meet the Frontend

The Bridge Pattern - Design Patterns meet the Frontend

214
Comments 13
5 min read
Refactoring conditionals to strategies (in C#/.Net)

Refactoring conditionals to strategies (in C#/.Net)

10
Comments
3 min read
Singleton - Design Patterns meet the Frontend

Singleton - Design Patterns meet the Frontend

37
Comments 1
6 min read
Six Patterns for Microfrontends

Six Patterns for Microfrontends

55
Comments
17 min read
JavaScript Design Patterns - Factory Pattern

JavaScript Design Patterns - Factory Pattern

115
Comments 6
4 min read
Event Bus Pattern via Native EventEmmiter Class

Event Bus Pattern via Native EventEmmiter Class

26
Comments
3 min read
Resolving Dependencies at Runtime in ASP.NET Core

Resolving Dependencies at Runtime in ASP.NET Core

5
Comments
3 min read
The problem with Dogma in Software

The problem with Dogma in Software

14
Comments
5 min read
Isolating code in contexts

Isolating code in contexts

10
Comments
5 min read
Matching your way to consistent states

Matching your way to consistent states

77
Comments 8
8 min read
useCallback and dependency abuse with React hooks

useCallback and dependency abuse with React hooks

10
Comments
3 min read
Ruby 2.7 Experimental Features in Production: Pattern matching and numbered block args

Ruby 2.7 Experimental Features in Production: Pattern matching and numbered block args

38
Comments 1
4 min read
The Builder Pattern

The Builder Pattern

101
Comments 5
4 min read
A Different Unit Test Pattern

A Different Unit Test Pattern

18
Comments 4
1 min read
Quick tips for searching in vim

Quick tips for searching in vim

10
Comments 1
3 min read
Software Architecture Patterns Essential - GDGBangla

Software Architecture Patterns Essential - GDGBangla

4
Comments
1 min read
MVC Calculator in "almost" Vanilla JS

MVC Calculator in "almost" Vanilla JS

9
Comments 3
8 min read
Top 10 JavaScript Patterns Every Developer Likes

Top 10 JavaScript Patterns Every Developer Likes

1379
Comments 31
6 min read
Practical Front-End Practices

Practical Front-End Practices

65
Comments 5
9 min read
Design Patterns Discussion

Design Patterns Discussion

7
Comments 2
1 min read
Higher-Order Components (HOCs) in React, when and why

Higher-Order Components (HOCs) in React, when and why

11
Comments
2 min read
Resilience Design Patterns: Retry, Fallback, Timeout, Circuit Breaker

Resilience Design Patterns: Retry, Fallback, Timeout, Circuit Breaker

128
Comments 4
9 min read
5 Programming Patterns I Like

5 Programming Patterns I Like

413
Comments 61
4 min read
Why SHOULD you use the Repository Pattern in your project? And how to do it, the easy way…

Why SHOULD you use the Repository Pattern in your project? And how to do it, the easy way…

6
Comments
3 min read
Design Patterns in JavaScript

Design Patterns in JavaScript

17
Comments
4 min read
Inheritance without extends

Inheritance without extends

5
Comments
2 min read
An Alternative Ternary

An Alternative Ternary

14
Comments
2 min read
Rubyish flyweight

Rubyish flyweight

12
Comments
2 min read
Design Patterns in Java

Design Patterns in Java

172
Comments 18
3 min read
How to store relational data inside Redux

How to store relational data inside Redux

71
Comments 6
3 min read
Redux middleware as pure functions

Redux middleware as pure functions

21
Comments 7
5 min read
Applying CQRS to product design

Applying CQRS to product design

17
Comments
5 min read
Async JavaScript: history, patterns and gotchas

Async JavaScript: history, patterns and gotchas

12
Comments
14 min read
Building objects like a pro!

Building objects like a pro!

6
Comments
7 min read
Composition patterns in real world React

Composition patterns in real world React

25
Comments 4
3 min read
Template Literal expressions within the Template tag seem like a missed opportunity

Template Literal expressions within the Template tag seem like a missed opportunity

6
Comments 5
2 min read
Onion Coding: Programming in Layers

Onion Coding: Programming in Layers

21
Comments
9 min read
Why you should wrap your (JavaScript) dependencies

Why you should wrap your (JavaScript) dependencies

9
Comments
2 min read
PHP loop patterns

PHP loop patterns

18
Comments 4
1 min read
WTF is the Model-View-Controller pattern?

WTF is the Model-View-Controller pattern?

51
Comments
4 min read
The Vanilla Javascript Component Pattern

The Vanilla Javascript Component Pattern

162
Comments 28
6 min read
Rust builder pattern with types

Rust builder pattern with types

55
Comments 5
7 min read
Five Ways to Advanced React Patterns

Five Ways to Advanced React Patterns

41
Comments
7 min read
Effective Service Objects in Ruby

Effective Service Objects in Ruby

60
Comments 10
5 min read
loading...