DEV Community

# patterns

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Top 10 JavaScript Patterns Every Developer Likes

Top 10 JavaScript Patterns Every Developer Likes

1380
Comments 31
6 min read
Patterns for Building JavaScript Websites in 2022

Patterns for Building JavaScript Websites in 2022

491
Comments 17
9 min read
5 Programming Patterns I Like

5 Programming Patterns I Like

413
Comments 61
4 min read
Avoid use IF on our JS scripts

Avoid use IF on our JS scripts

284
Comments 48
5 min read
The Bridge Pattern - Design Patterns meet the Frontend

The Bridge Pattern - Design Patterns meet the Frontend

214
Comments 13
5 min read
The saga of async JavaScript: Generators

The saga of async JavaScript: Generators

154
Comments 8
13 min read
JavaScript concepts to write better React code

JavaScript concepts to write better React code

141
Comments 5
3 min read
Implement CRUD with Laravel Service-Repository Pattern

Implement CRUD with Laravel Service-Repository Pattern

137
Comments 34
4 min read
Resilience Design Patterns: Retry, Fallback, Timeout, Circuit Breaker

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

128
Comments 4
9 min read
JavaScript Design Patterns - Factory Pattern

JavaScript Design Patterns - Factory Pattern

115
Comments 6
4 min read
The Unknown Design Pattern

The Unknown Design Pattern

105
Comments 2
4 min read
The Builder Pattern

The Builder Pattern

101
Comments 5
4 min read
My Top 4 Patterns for Writing Simple Code

My Top 4 Patterns for Writing Simple Code

99
Comments 3
5 min read
Using the Fluent Interface Pattern to Create JavaScript Objects

Using the Fluent Interface Pattern to Create JavaScript Objects

98
Comments 9
1 min read
Node.js Architectural Patterns with Examples

Node.js Architectural Patterns with Examples

84
Comments 5
3 min read
How to Test Five Common NgRx Effect Patterns

How to Test Five Common NgRx Effect Patterns

78
Comments 10
11 min read
Matching your way to consistent states

Matching your way to consistent states

77
Comments 8
8 min read
Practical Front-End Practices

Practical Front-End Practices

65
Comments 5
9 min read
Why you Should get Into Coding Patterns Right Away 🏁

Why you Should get Into Coding Patterns Right Away 🏁

55
Comments 4
3 min read
Six Patterns for Microfrontends

Six Patterns for Microfrontends

55
Comments
17 min read
Compound components - React

Compound components - React

52
Comments 17
13 min read
Laravel Repository Pattern

Laravel Repository Pattern

51
Comments 9
3 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
Why SOLID may be useful for you in Elixir

Why SOLID may be useful for you in Elixir

39
Comments
6 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
Singleton - Design Patterns meet the Frontend

Singleton - Design Patterns meet the Frontend

37
Comments 1
6 min read
Depending Less on Structure

Depending Less on Structure

33
Comments
1 min read
Understanding Hexagonal Architecture

Understanding Hexagonal Architecture

28
Comments
11 min read
Event Bus Pattern via Native EventEmmiter Class

Event Bus Pattern via Native EventEmmiter Class

26
Comments
3 min read
SOLID Principles with Examples in Python

SOLID Principles with Examples in Python

25
Comments 2
11 min read
I wrote a free book on React

I wrote a free book on React

24
Comments 6
1 min read
Must do pattern questions :Part-2 [ Javascript]

Must do pattern questions :Part-2 [ Javascript]

24
Comments 4
2 min read
How to implement Decorator pattern in Ruby on Rails?

How to implement Decorator pattern in Ruby on Rails?

22
Comments 6
3 min read
The Builder Pattern in Dart

The Builder Pattern in Dart

21
Comments 1
5 min read
Repository Pattern in Laravel

Repository Pattern in Laravel

20
Comments 10
6 min read
Nodejs Design Pattern

Nodejs Design Pattern

19
Comments
8 min read
Microservices and Best Patterns

Microservices and Best Patterns

18
Comments 1
7 min read
A Different Unit Test Pattern

A Different Unit Test Pattern

18
Comments 4
1 min read
Design Patterns in JavaScript

Design Patterns in JavaScript

17
Comments
4 min read
🧠 I Code Differently Depending on These 5 Project Types

🧠 I Code Differently Depending on These 5 Project Types

17
Comments
4 min read
The Publisher Subscriber pattern

The Publisher Subscriber pattern

16
Comments 4
5 min read
Event Sourcing Pattern

Event Sourcing Pattern

15
Comments 2
1 min read
JavaScript Instantiation in 5 mins

JavaScript Instantiation in 5 mins

14
Comments
4 min read
The problem with Dogma in Software

The problem with Dogma in Software

14
Comments
5 min read
Compound components pattern for creating reusable Rating component

Compound components pattern for creating reusable Rating component

14
Comments 7
4 min read
TypeScript (patterns?)

TypeScript (patterns?)

14
Comments 3
8 min read
An Alternative Ternary

An Alternative Ternary

14
Comments
2 min read
How to implement Authorizer pattern in Ruby on Rails?

How to implement Authorizer pattern in Ruby on Rails?

13
Comments
6 min read
✳️ DRY Principle 🍁

✳️ DRY Principle 🍁

13
Comments
3 min read
Kubernetes Patterns : The Stateful Service Pattern

Kubernetes Patterns : The Stateful Service Pattern

13
Comments
1 min read
Explained: Creating a zigzag pattern with just CSS

Explained: Creating a zigzag pattern with just CSS

13
Comments
3 min read
Não apanhe do Layout - CSS positions (parte 1)

Não apanhe do Layout - CSS positions (parte 1)

13
Comments
5 min read
Structuring Modular Monoliths

Structuring Modular Monoliths

12
Comments
10 min read
Implementing a State Machine as a service with aasm gem.

Implementing a State Machine as a service with aasm gem.

12
Comments 2
3 min read
Repository/Service pattern, did it finally click?

Repository/Service pattern, did it finally click?

12
Comments
1 min read
Software Architecture and Abstractions for newbie

Software Architecture and Abstractions for newbie

12
Comments
7 min read
How to implement Service Object pattern in Ruby on Rails?

How to implement Service Object pattern in Ruby on Rails?

12
Comments
5 min read
Why should I hook?

Why should I hook?

11
Comments
3 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
Kubernetes Patterns : The Reflection Pattern

Kubernetes Patterns : The Reflection Pattern

11
Comments
2 min read
loading...