{"id":16530560,"url":"https://github.com/freeshineit/design_patterns","last_synced_at":"2025-04-04T20:34:20.056Z","repository":{"id":40753894,"uuid":"110769937","full_name":"freeshineit/design_patterns","owner":"freeshineit","description":"设计模式 typescript 实现   设计实现  设计原则 算法","archived":false,"fork":false,"pushed_at":"2023-03-05T16:53:40.000Z","size":438,"stargazers_count":2,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T05:13:44.881Z","etag":null,"topics":["algorithms","design-patterns","interview","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/freeshineit.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}},"created_at":"2017-11-15T01:58:33.000Z","updated_at":"2023-03-05T16:50:37.000Z","dependencies_parsed_at":"2023-02-06T05:01:04.206Z","dependency_job_id":null,"html_url":"https://github.com/freeshineit/design_patterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fdesign_patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fdesign_patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fdesign_patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freeshineit%2Fdesign_patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freeshineit","download_url":"https://codeload.github.com/freeshineit/design_patterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247248674,"owners_count":20908173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["algorithms","design-patterns","interview","typescript"],"created_at":"2024-10-11T18:06:21.831Z","updated_at":"2025-04-04T20:34:20.021Z","avatar_url":"https://github.com/freeshineit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 编程思想\n\n- [OOP](./src/Programming_Ideas/OOP)(面向对象)\n\n- [IOP](./src/Programming_Ideas/IOP)(面向接口)\n\n- [AOP](./src/Programming_Ideas/AOP)(面向切面)\n\n- [POP](./src/Programming_Ideas/POP)(面向过程 git、linux)\n\n## [算法](./src/Algorithm)\n\n## 设计模式（23 种设计模式）-- typescript\n\n\u003c!-- https://blog.csdn.net/jason0539/article/details/44956775 --\u003e\n\n## 创建型模式\n\n- [x] [单例模式](./src/Design_Patterns/Singleton) \\*\\*\n\n- [x] [工厂方法模式](./src/Design_Patterns/Factory) \\*\\*\n\n- [x] [抽象工厂模式](./src/Design_Patterns/Factory)\n\n- [建造者模式]\n\n- [原型模式]\n\n## 结构型模式\n\n- [x] [适配器模式](./src/Design_Patterns/Adapter) \\*\\*\n\n- [x] [装饰器模式](./src/Design_Patterns/Decorator) \\*\\*\n\n- [x] [代理模式](./src/Design_Patterns/Proxy) \\*\\*\n\n- [外观模式]\n\n- [桥接模式]\n\n- [组合模式]\n\n- [享元模式]\n\n## 行为型模式\n\n- [策略模式]\n\n- [模板方法模式] \\*\\*\n\n- [x] [观察者模式](src/Design_Patterns/Observer/) \\*\\*\\*\n\n- [迭代器模式]\n\n- [责任链模式]\n\n- [命令模式]\n\n- [备忘录模式]\n\n- [状态模式] \\*\\*\n\n- [访问者模式] \\*\\*\n\n- [中介者模式]\n\n- [解释器模式]\n\n## [设计模式的六大原则](https://github.com/freeshineit/design_patterns/issues/20)\n\n[设计原则](https://www.bilibili.com/video/BV1kW411P7KS/?spm_id_from=333.788.videocard.1)\n\nS O L I D\n\n- [单一职责原则]\n\n- [开放封闭原则] 对扩展开放 对修改封闭\n\n- [里氏替换原则](https://zh.wikipedia.org/wiki/%E9%87%8C%E6%B0%8F%E6%9B%BF%E6%8D%A2%E5%8E%9F%E5%88%99)\n\n- [接口独立原则]\n\n- [依赖倒置原则]\n\n- [迪米特原则]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeshineit%2Fdesign_patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeshineit%2Fdesign_patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeshineit%2Fdesign_patterns/lists"}