{"id":28560,"url":"https://github.com/DarLiner/awesome-design-patterns","name":"awesome-design-patterns","description":"优秀软件与架构设计模式资源收集。包含10种常见的软件架构模式、GoF设计模式、云架构模式、微服务和分布式系统、大数据、数据库等","projects_count":95,"last_synced_at":"2026-08-16T22:00:22.949Z","repository":{"id":100528527,"uuid":"139788529","full_name":"DarLiner/awesome-design-patterns","owner":"DarLiner","description":"优秀软件与架构设计模式资源收集。包含10种常见的软件架构模式、GoF设计模式、云架构模式、微服务和分布式系统、大数据、数据库等","archived":false,"fork":false,"pushed_at":"2018-07-05T03:08:20.000Z","size":37,"stargazers_count":23,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-07-28T12:03:57.425Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarLiner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-07-05T03:07:16.000Z","updated_at":"2026-07-02T01:25:04.000Z","dependencies_parsed_at":"2023-05-15T17:45:09.353Z","dependency_job_id":null,"html_url":"https://github.com/DarLiner/awesome-design-patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DarLiner/awesome-design-patterns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarLiner%2Fawesome-design-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarLiner%2Fawesome-design-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarLiner%2Fawesome-design-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarLiner%2Fawesome-design-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarLiner","download_url":"https://codeload.github.com/DarLiner/awesome-design-patterns/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarLiner%2Fawesome-design-patterns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36724754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-16T02:00:06.462Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"created_at":"2024-01-13T12:57:45.135Z","updated_at":"2026-08-16T22:00:22.950Z","primary_language":null,"list_of_lists":false,"displayable":true,"categories":["Front-End Development","Micro services \u0026 Distributed Systems","Language/Framework design patterns (mainly GoF)","Books","General Architecture","Internet of things","Big Data","Databases","Docker and DevOps","Mobile","Security","License","Cloud Architecture","Other Awesome Lists","Serverless Architecture"],"sub_categories":[],"readme":"# Awesome design patterns \n\n\u003e A curated list of software and architecture related design patterns.\n\n\u003c!-- \u003ca href=\"https://github.com/vitalets/awesome-smart-tv\"\u003e\u003cimg align=\"right\" width=\"150\" src=\"https://user-images.githubusercontent.com/1473072/27913047-7c3a5e60-6267-11e7-8bd1-bef2bf3cd753.png\"/\u003e\u003c/a\u003e --\u003e\n\n[Software design pattern](https://en.wikipedia.org/wiki/Software_design_pattern) - A general, reusable solution to a commonly occurring problem within a given context in software design. It is a description or template for how to solve a problem that can be used in many different situations. \n\n\u003ch1 align=\"center\"\u003e\n\u003ca href=\"http://awesome.re\"\u003e\u003cimg src=\"https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg\" alt=\"awesome\"\u003e\u003c/a\u003e \n\u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" /\u003e\n\u003ca href=\"https://gitter.im/awesome-design-patterns/Lobby\"\u003e\u003cimg src=\"https://badges.gitter.im/awesome-design-patterns/Lobby.svg\" alt=\"awesome\"\u003e\u003c/a\u003e \n\u003c/h1\u003e\n\n\u003cbr\u003e\n\n## Contents\n- [GoF design patterns](#languageframework-design-patterns-mainly-gof)\n- [General Architecture](#general-architecture)\n- [Cloud Architecture](#cloud-architecture)\n- [Serverless Architecture](#serverless-architecture)\n- [Micro services \u0026 Distributed Systems](#micro-services--distributed-systems)\n- [Internet of things](#internet-of-things)\n- [Big Data](#big-data)\n- [Databases](#databases)\n- [Docker and DevOps](#docker-and-devops)\n- [Mobile](#mobile)\n- [Front End Development](#front-end-development)\n- [Security](#security)\n- [Books](#books)\n- [Videos](#videos)\n- [Miscellaneous](#miscellaneous)\n\n\u003cbr\u003e\n\n## Language/Framework design patterns (mainly GoF) \n- [AngularJS]\n\t- [angularjs-in-patterns](https://github.com/mgechev/angularjs-in-patterns)\n- [C#]\n\t- [design-patterns](https://github.com/abishekaditya/DesignPatterns) \n\t- [design-patterns-for-human](https://github.com/anupavanm/csharp-design-patterns-for-humans)\n- [C++]\n\t- [design-patterns](http://www.vincehuston.org/dp/)\n- [Cat]\n\t- [patterns for hoomans](https://github.com/mlnv/design-patterns-for-hoomans)\n- [Closure]\n\t- [design-patterns](https://arturoherrero.com/closure-design-patterns/)\n- [Go]\n\t- [design-patterns](http://tmrts.com/go-patterns/)\n- [Java]\n\t- [sourcemaking](https://sourcemaking.com/design_patterns)\n\t- [oodesign](https://www.oodesign.com/)\n\t- [from-gof-to-lambda](https://github.com/mariofusco/from-gof-to-lambda)\n\t- [design-patterns](https://github.com/iluwatar/java-design-patterns)\n\t- [effective-java](https://github.com/HugoMatilla/Effective-JAVA-Summary)\n- [JavaScript]\n\t- [es6](https://github.com/ziyasal/design-patterns-and-idioms-in-es6)\n\t- [humans](https://github.com/sohamkamani/javascript-design-patterns-for-humans)\n\t- [js_designpatterns](https://github.com/nnupoor/js_designpatterns)\n\t- [addyosmani](https://addyosmani.com/resources/essentialjsdesignpatterns/book/)\n- [Kotlin]\n\t- [design-patterns](https://github.com/dbacinski/Design-Patterns-In-Kotlin) \n\t- [gof-in-kotlin](https://github.com/lmller/gof-in-kotlin) \n- [PHP]\n\t- [humans](https://github.com/kamranahmedse/design-patterns-for-humans)\n\t- [design-patterns](https://github.com/domnikl/DesignPatternsPHP) \n- [Python]\n\t- [design-patterns](https://github.com/faif/python-patterns) \n\t- [PyPattyrn](https://github.com/tylerlaberge/PyPattyrn) \n- [React]\n\t- [design-patterns](http://krasimirtsonev.com/blog/article/react-js-in-design-patterns)\n\t- [react-bits](https://github.com/vasanthk/react-bits)\n- [Ruby]\n\t- [design-patterns](https://github.com/davidgf/design-patterns-in-ruby) \n- [Scala]\n\t- [scala-design-patterns](https://github.com/josephguan/scala-design-patterns)\n- [Swift]\n\t- [design-patterns](https://github.com/ochococo/Design-Patterns-In-Swift)\n- [TypeScript]\n\t- [typescript](https://github.com/torokmark/design_patterns_in_typescript)\n- [UML]\n\t- [quick reference](http://www.mcdonaldland.info/2007/11/28/40/)\n\t- [cheat-sheet](https://www.slideshare.net/hustwj/design-patterns-cheat-sheet)\n\t\n\t\n## General Architecture\n- [10 common architectural patterns](https://towardsdatascience.com/10-common-software-architectural-patterns-in-a-nutshell-a0b47a1e9013) - 10 Common software architectural patterns in a nutshell.\n- [reactive design patterns](https://www.reactivedesignpatterns.com/categories.html) - This website accompanies the book Reactive Design Patterns by Roland Kuhn.\n- [scalable System Design Patterns](https://dzone.com/articles/scalable-system-design) - Scalable system design techniques.\n- [martin fowler](https://martinfowler.com/eaaCatalog/) - Catalog of Patterns of Enterprise Application Architecture.\n- [system-design-primer](https://github.com/donnemartin/system-design-primer) - Design large-scale systems.\n- [architecting-for-reliability](https://medium.com/becloudy/architecting-for-reliability-part-1-concepts-17028343089) - Architecting for Reliability Part 1/3.\n\n\n## Cloud Architecture\n- [AWS cloud design patterns](http://en.clouddesignpattern.org/index.php/Main_Page) - The AWS Cloud Design Patterns (CDP).\n- [Azure cloud design patterns](https://docs.microsoft.com/en-us/azure/architecture/patterns/) - Building reliable, scalable, secure applications in the cloud.\n- [cloud patterns](http://cloudpatterns.org/) - A community site dedicated to documenting a master patterns catalog.\n- [cloud computing patterns](http://www.cloudcomputingpatterns.org/) - Cloud Computing Patterns.\n- [Google Cloud Solutions](https://gcp.solutions/) - Real business cases solutions with diagrams on GCP.\n\n## Serverless Architecture\n- [serverless architecture](https://thenewstack.io/serverless-architecture-five-design-patterns/) - Serverless Architecture: Five Design Patterns.\n- [solving problems in serverless](https://freecontent.manning.com/patterns-for-solving-problems-in-serverless-architectures/) - Patterns for Solving Problems in Serverless Architectures.\n\n## Micro services \u0026 Distributed Systems\n- [microservice patterns](http://microservicepatterns.org/) - A community site dedicated to documenting a master patterns catalog.\n- [microservices](http://microservices.io/patterns) - A pattern language for microservices.\n- [microservices-anti patterns](https://www.oreilly.com/ideas/microservices-antipatterns-and-pitfalls) - Microservices antipatterns and pitfalls.\n- [12factor](https://12factor.net/) - The twelve-factor methodology.\n- [microservices-sync-vs-async](https://dzone.com/articles/patterns-for-microservices-sync-vs-async) - Microservices patterns, synchronous and asynchronous.\n- [message-queues](http://tech.forter.com/comparing-message-queue-architectures-on-aws/) - Comparing-message-queue-architectures.\n- [enterprise Integration Patterns](http://www.enterpriseintegrationpatterns.com/patterns/messaging/toc.html) - Patterns and Best Practices for Enterprise Integration.\n\n## Internet of things\n- [iot-communication-patterns](https://dzone.com/articles/strengths-and-weaknesses-of-iot-communication-patterns) - Strengths and Weaknesses of IoT Communication Patterns.\n- [design-patterns-for-iot](https://community.arm.com/iot/b/blog/posts/design-patterns-for-an-internet-of-things) - A Design Pattern Framework for IoT Architecture.\n\n## Big Data\n- [bigdatapatterns](http://bigdatapatterns.org/) - A community site dedicated to documenting a master patterns catalog.\n- [mapreduce-patterns](https://highlyscalable.wordpress.com/2012/02/01/mapreduce-patterns/) - Map-reduce patterns.\n- [streaming-realtime-analytics](https://iwringer.wordpress.com/2015/08/03/patterns-for-streaming-realtime-analytics/) - 13 Stream Processing Patterns for building Streaming and Realtime Applications.\n\n## Databases\n- [SQL]\n\t- [database tenancy patterns](https://docs.microsoft.com/en-us/azure/sql-database/saas-tenancy-app-design-patterns) - Multi-tenant SaaS database tenancy patterns\n\t- [databaseanswers](http://www.databaseanswers.org/data_models/) -  Industry-specific SQL Data Models in 50 categories.\n\t- [database-programmer](http://database-programmer.blogspot.com/2008/01/table-design-patterns.html) - Table-design-patterns.\n\t- [red-gate](https://www.red-gate.com/simple-talk/sql/database-administration/five-simple-database-design-errors-you-should-avoid/) -  five simple database design errors you should avoid.\n\t- [talend](https://www.talend.com/blog/2017/05/05/data-model-design-best-practices-part-1/) - Data model design best practices. \n\t- [sqlcheck](https://github.com/jarulraj/sqlcheck) - Anti-patterns in SQL queries.\n- [NOSQL]\n\t- [nosql resilience patterns](https://www.ebayinc.com/stories/blogs/tech/practical-nosql-resilience-design-pattern-for-the-enterprise/) - Practical NoSQL resilience design pattern for the enterprise.\n\t- [nosql-patterns](https://dzone.com/articles/introduction-nosql-patterns) - Pragmatic Programming Techniques.\n\t- [mongodb](https://dzone.com/articles/mongodb-design-patterns) - Mongodb design patterns.\n\n## Docker and DevOps\n- [containerspatterns](https://l0rd.github.io/containerspatterns) - There are a Thousand Ways to Use Containers.\n- [container-anti-patterns](http://blog.arungupta.me/docker-container-anti-patterns/) - 10 containers anti-patterns.\n- [kubernetes](https://github.com/gravitational/workshop/blob/master/k8sprod.md) - Kubernetes Production Patterns.\n- [container-design-patterns](https://vitalflux.com/container-design-patterns-kubernetes-pods-design/) - Container Design Patterns for Kubernetes Pods Design.\n- [pattern-and-anti-pattern-cicd](https://www.gronau-it-cloud-computing.de/pattern-and-anti-pattern-cicd/) - Pattern and anti-pattern cicd.\n- [best-practices-for-shell-scripts](https://stackoverflow.com/questions/78497/design-patterns-or-best-practices-for-shell-scripts) - Best practices for shell scripts.\n\n\n## Mobile\n- [ios]\n\t- [ios-architecture-patterns](https://medium.com/ios-os-x-development/ios-architecture-patterns-ecba4c38de52)\n- [android]\n\t- [androidpatterns](https://unitid.nl/androidpatterns/) - Interaction patterns that can help you design Android apps. \n\t- [design-patterns-for-android](https://www.raywenderlich.com/109843/common-design-patterns-for-android) -  Common Design Patterns for Android. \n\t- [mvc-mvp-and-mvvm](https://academy.realm.io/posts/eric-maxwell-mvc-mvp-and-mvvm-on-android/) -  The MVC, MVP, and MVVM Smackdown. \n\t\n\t\n## Front-End Development\n- [user Interface](http://ui-patterns.com/) - User Interface Design patterns.\n- [oocss-acss-bem-smacss](http://clubmate.fi/oocss-acss-bem-smacss-what-are-they-what-should-i-use/) - OOCSS, ACSS, BEM, SMACSS: what are they? What should I use?\n- [css-protips](https://github.com/AllThingsSmitty/css-protips) - A collection of tips to help take your CSS skills pro.\n- [responsive design patterns](https://bradfrost.github.io/this-is-responsive/patterns.html#layout) - A collection of patterns and modules for responsive designs.\n- [front-End Architecture]\n\t- [mv*](https://proandroiddev.com/mvc-mvp-mvvm-clean-viper-redux-mvi-prnsaaspfruicc-building-abstractions-for-the-sake-of-building-18459ab89386) - MVC/MVP/MVVM/CLEAN/VIPER/REDUX/MVI/PRNSAASPFRUICC.\n\t- [martinfowler](https://martinfowler.com/eaaDev/uiArchs.html) - GUI Architectures.\n\n## Security\n- [opensecurityarchitecture](http://www.opensecurityarchitecture.org/cms/library/patternlandscape) - Security Architecture Patterns.\n- [martinfowler](https://www.martinfowler.com/articles/web-security-basics.html) - Web-security-basics.\n- [cloud-security](https://www.infoq.com/articles/cloud-security-architecture-intro) - Cloud security architecture intro.\n- [owasp](https://www.owasp.org/index.php/Security_by_Design_Principles) - Security by Design Principles.\n- [azure-security](https://docs.microsoft.com/en-us/azure/security/security-best-practices-and-patterns) - Azure security best practices and patterns.\n\n## Books\n- [Django Design Patterns and Best Practices](https://arunrocks.com/static/book/django-design-patterns-best-practices-2-ed/)\n- [MongoDB Applied Design Patterns](http://shop.oreilly.com/product/0636920027041.do)\n- [Design-Patterns-Elements-Reusable-Object-Oriented](https://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612/ref=sr_1_4?s=books\u0026ie=UTF8\u0026qid=1528136036\u0026sr=1-4\u0026keywords=design+patterns)\n- [Head-First-Design-Patterns-Brain-Friendly](https://www.amazon.com/Head-First-Design-Patterns-Brain-Friendly/dp/0596007124/ref=pd_sim_14_4)\n- [Effective-Java-3rd-Joshua-Bloch](https://www.amazon.com/Effective-Java-3rd-Joshua-Bloch/dp/0134685997/ref=pd_sim_14_7)\n- [Node.js Design Patterns](https://www.packtpub.com/web-development/nodejs-design-patterns-second-edition)\n- [Game Programming Patterns](https://github.com/munificent/game-programming-patterns)\n\n## Videos\n - [TODO]\n \n## Miscellaneous\n\n## Other Awesome Lists\n- Other amazingly awesome lists can be found in the [awesome](https://github.com/sindresorhus/awesome) list.\n\n## Contributing\n- Your contributions are always welcome! Please read the [contribution guidelines](contributing.md) first.\n\n## License\n\n[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](https://creativecommons.org/publicdomain/zero/1.0/) \n\n\nTo the extent possible under law, [Dov Amir](https://github.com/DovAmir) has waived all copyright and related or neighboring rights to this work.\n","projects_url":"https://awesome.ecosyste.ms/api/v1/lists/darliner%2Fawesome-design-patterns/projects"}