{"id":25633937,"url":"https://github.com/matusstafura/design-patterns-study","last_synced_at":"2026-04-08T20:44:44.280Z","repository":{"id":278537968,"uuid":"923151962","full_name":"matusstafura/design-patterns-study","owner":"matusstafura","description":"Design Patterns in various languages","archived":false,"fork":false,"pushed_at":"2025-04-03T06:51:33.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-05T00:14:29.024Z","etag":null,"topics":["cpp","design-patterns","gang-of-four","go","golang","java","javascript","php","python"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/matusstafura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-27T18:20:14.000Z","updated_at":"2025-04-03T06:51:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"1bf00c6c-1e12-4a49-950a-cbf96c6ac2ad","html_url":"https://github.com/matusstafura/design-patterns-study","commit_stats":null,"previous_names":["matusstafura/design-patterns-study"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matusstafura/design-patterns-study","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matusstafura%2Fdesign-patterns-study","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matusstafura%2Fdesign-patterns-study/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matusstafura%2Fdesign-patterns-study/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matusstafura%2Fdesign-patterns-study/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matusstafura","download_url":"https://codeload.github.com/matusstafura/design-patterns-study/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matusstafura%2Fdesign-patterns-study/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31573788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["cpp","design-patterns","gang-of-four","go","golang","java","javascript","php","python"],"created_at":"2025-02-22T22:33:32.688Z","updated_at":"2026-04-08T20:44:44.273Z","avatar_url":"https://github.com/matusstafura.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Design Patterns\n\n## List of Design Patterns\n\n|  # | Type        | Name                                      | C++ | Java | GO | JS | PHP | Python |\n|----|-------------|-------------------------------------------|-----|------|----|----|-----|--------|\n|    | Creational  | Factory Method                            | ✅  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Creational  | Abstract Factory                          | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Creational  | Builder                                   | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Creational  | Prototype                                 | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Creational  | Singleton                                 | ❌  | ❌   | ❌ | ❌ | ✅  | ❌     |\n|    | Structural  | Adapter                                   | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Structural  | Bridge                                    | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Structural  | Composite                                 | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n|    | Structural  | Data Mapper                               | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Structural  | Decorator                                 | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n| 10 | Structural  | Facade                                    | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n| 11 | Structural  | Flyweight                                 | ❌  | ✅   | ✅ | ✅ | ✅  | ✅     |\n| 12 | Structural  | Proxy                                     | ❌  | ❌   | ❌ | ❌ | ✅  | ✅     |\n|    | Structural  | Registry                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Structural  | Twin                                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Blackboard                                | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Chain of Responsibility                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Command                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Fluent interface                          | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Interpreter                               | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Iterator                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Mediator                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Memento                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Null Object                               | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Observer                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Servant                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Specification                             | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | State                                     | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Strategy                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Template Method                           | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n|    | Behavioral  | Visitor                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n\n## Extra\n| Creational  | Static Factory Method                     | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Pool                                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Simple Factory                            | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Dependency Injection                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Lazy initialization                       | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Multiton                                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | Object pool                               | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Creational  | RAII                                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Delegation                                | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Dependency Injection                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Extension object                          | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Fluent Interface                          | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Front controller                          | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Marker                                    | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Structural  | Module                                    | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Extra       | Service Locator                           | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Extra       | Repository                                | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Extra       | Entity-Attribute-Value (EAV)              | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Active Object                             | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Balking                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Binding properties                        | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Compute kernel                            | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Double-checked locking                    | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Event-based asynchronous                  | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Guarded suspension                        | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Join                                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Lock                                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Messaging design pattern (MDP)            | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Monitor object                            | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Reactor                                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Read-write lock                           | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Scheduler                                 | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Service handler pattern                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Thread pool                               | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Thread-specific storage                   | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | Safe Concurrency with Exclusive Ownership | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n| Concurrency | CPU atomic operation                      | ❌  | ❌   | ❌ | ❌ | ❌  | ❌     |\n\n### Study Materials\n\n#### python\n\n- [https://python-patterns.guide/](https://python-patterns.guide/)\n\n### Compile/Run\n\n```bash\n# C++\ng++ cpp.c -o cpp \u0026\u0026 ./cpp\n\n# python\npython3 python.py\n\n# go\ngo run go.go\n\n# java\njavac Main.java \u0026\u0026 java Main\n\n# javascript\nnode javascript.js\n\n# php\nphp -f php.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatusstafura%2Fdesign-patterns-study","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatusstafura%2Fdesign-patterns-study","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatusstafura%2Fdesign-patterns-study/lists"}