[RUBY] I read "7 Design Patterns to Refactor MVC Components in Rails" (writing)

About this article

I read and summarized 7 Design Patterns to Refactor MVC Components in Rails. Include personal views and impressions. Maybe you can read the original article normally. .. ..

1. Serviec object (and Interactor object)

2. Value object

3. Form object

4. Query object

5. View object (Serializer / Presenter)

6. Policy object

7. Decorator object

Others (memo while writing an article)

Recommended Posts

I read "7 Design Patterns to Refactor MVC Components in Rails" (writing)
Read design patterns in Ruby
I read Hiroshi Yuki "Introduction to Design Patterns Learned in Java Language" (SB Creative)
I want to use a little icon in Rails
Introduction to design patterns (introduction)
I want to define a function in Rails Console
A story I was addicted to in Rails validation settings
Introduction to Design Patterns (Builder)
How to read rails routes
Introduction to Design Patterns (Composite)
Introduction to design patterns (Flyweight)
I read module-info.java in java.base
Introduction to design patterns Prototype
Introduction to Design Patterns (Iterator)
Introduction to Design Patterns (Strategy)
I tried to implement Ajax processing of like function in Rails
I tried to sort the data in descending order, ascending order / Rails
I want to add devise in Rails, but I can't bundle install
[Rails] How to write in Japanese
Introduction to Design Patterns (Factory Method)
Introduction to Design Patterns (Abstract Factory)
CRUD features and MVC in Rails
How to introduce jQuery in Rails 6
Important design patterns to improve maintainability
How to install Swiper in Rails
[Rails] I want to send data of different models in a form
[Java Spring MVC] I want to use DI in my own class