Programmers also rely on patterns—some personal, some widely adopted—to create consistent, reliable results.
Many things we do in daily life follows some patterns that help us solve problems effectively. For example, a pattern for learning a new dish might be reading the recipe, following the recipe exactly to cook once, and finally adjusting the ingredients to match your taste. Similarly, a pattern for solving a chemistry problem might be gathering all the given quantities, identifying what to find, and lastly starting applying relevant theorems.
These patterns in common sense refer to a series of steps. However, the pattern in design patterns are much more complex idea than these.
As a newcomer to software engineering, I have not yet learn the official design patterns used in the industry. However, while working on my final project, Wonkes Market, I developed a workflow that helped me design pages with good user experience and manageable code:
Below is a screenshot of the merchandise detail page I implemented using this pattern.

The page displays the details of a merchandise. I got inspiration on the UI design from Amazon and eBay. The photo preview is one component, and the details are another component. The photo preview component is reused in the add merchandise page:

The merchandise detail page take input from the URL, and also fetch data from the database. Then the data is passed to the components as parameters. ChatGPT did tremendous of help on structuring the photo preview component and the details component. It turns out that the UI have a good appearance and is interactive, and the code is nice and neat.
Wikipedia’s definition for design pattern is “a general, reusable solution to a commonly occurring problem in many contexts in software design.” In other words, design pattern is a reusable solution to common problems in software design. Some well-known examples of design patterns includes,
Design patterns are not simply steps of solving a problem, they are highly abstract solutions or a summary of how a solution should look like.
While working on Wonkes Market, I did not intentionally apply design patterns in my work; I did not even know what are design patterns.
AuthOnly and GuestOnly components in the project work as wrappers, making pages or components wrapped inside require sign in and require not sign in, respectively. This resembles the decorator pattern.As a result, design pattern does seems useful. Even if they appear in my project without me intentionally using them, they made my project having a nice code structure. As I continue learning, I do hope to learn more about design patterns.
References:
Composite pattern. Wikipedia. Retrieved December 3, 2025, from https://en.wikipedia.org/wiki/Composite_pattern.
Decorator pattern. Wikipedia. Retrieved December 3, 2025, from https://en.wikipedia.org/wiki/Decorator_pattern.
Model-view-controller. Wikipedia. Retrieved December 3, 2025, from https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller.
Software design pattern. Wikipedia. Retrieved December 3, 2025, from https://en.wikipedia.org/wiki/Software_design_pattern.
Note: ChatGPT was used to help writing and editing this essay.