mohuishou / go-design-pattern

golang design pattern go 设计模式实现,包含 23 种常见的设计模式实现,同时这也是极客时间-设计模式之美 的笔记
https://lailin.xyz/post/go-design-pattern.html
2.04k stars 339 forks source link

Web Server Design Pattern #8

Closed ducknificient closed 1 year ago

ducknificient commented 1 year ago

which design pattern is suitable for web server ? if the web server directory is :

shanghai-Jerry commented 1 year ago

it's more about framework, not design pattern i think.

mohuishou commented 1 year ago

In web frameworks, many design patterns are used, but they are closely related to the framework’s design. For example,

The specific pattern used depends on the scenario, and it’s important to focus on design principles such as SOLID, rather than worrying about which pattern to use.

mohuishou commented 1 year ago

If you can read Chinese, you may be interested in checking out my previous articles on Golang engineering. https://lailin.xyz/post/go-training-week4-clean-arch.html

ducknificient commented 1 year ago

If you can read Chinese, you may be interested in checking out my previous articles on Golang engineering. https://lailin.xyz/post/go-training-week4-clean-arch.html

This is an awesome articles for me. Thank you for sharing.