{"id":16976759,"url":"https://github.com/berwin/learn-javascript-design-pattern","last_synced_at":"2025-03-22T14:31:52.747Z","repository":{"id":84674722,"uuid":"46781542","full_name":"berwin/learn-javascript-design-pattern","owner":"berwin","description":" :musical_note:学习javascript设计模式，记录的小例子~ :musical_note:","archived":false,"fork":false,"pushed_at":"2015-12-30T10:59:38.000Z","size":78,"stargazers_count":94,"open_issues_count":0,"forks_count":34,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-18T12:03:45.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-24T09:38:07.000Z","updated_at":"2024-11-09T15:33:13.000Z","dependencies_parsed_at":"2023-03-16T15:00:16.623Z","dependency_job_id":null,"html_url":"https://github.com/berwin/learn-javascript-design-pattern","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/berwin%2Flearn-javascript-design-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berwin%2Flearn-javascript-design-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berwin%2Flearn-javascript-design-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berwin%2Flearn-javascript-design-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berwin","download_url":"https://codeload.github.com/berwin/learn-javascript-design-pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244972311,"owners_count":20540958,"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":[],"created_at":"2024-10-14T01:27:10.470Z","updated_at":"2025-03-22T14:31:52.434Z","avatar_url":"https://github.com/berwin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# learn-javascript-design-pattern\n学习javascript设计模式，记录的小例子~\n\n### 第一篇 - 面对对象编程\n\n* [第一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter1) 灵活的语言————javascript\n* [第二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter2) 面对对象编程\n\n### 第二篇 - 创建型设计模式\n\n* [第三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter3) 简单工厂模式\n* [第四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter4) 工厂方法模式\n* [第五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter5) 抽象工厂模式\n* [第六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter6) 建造者模式\n* [第七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter7) 原型模式\n* [第八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter8) 单例模式\n\n### 第三篇 - 结构型设计模式\n\n* [第九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter9) 外观模式\n* [第十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter10) 适配器模式\n* 第十一章 代理模式\n* [第十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter12) 装饰者模式\n* [第十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter13) 桥接模式\n* [第十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter14) 组合模式\n* [第十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter15) 享元模式\n\n### 第四篇 - 行为型设计模式\n\n* [第十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter16) 模板方法模式\n* [第十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter17) 观察者模式\n* [第十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter18) 状态模式\n* [第十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter19) 策略模式\n* [第二十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter20) 责任链模式\n* [第二十一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter21) 命令模式\n* [第二十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter22) 访问者模式\n* [第二十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter23) 中介者模式\n* [第二十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter24) 备忘录模式\n* [第二十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter25) 迭代器模式\n* [第二十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter26) 解释器模式\n\n### 第五篇 - 技巧型设计模式\n\n* [第二十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter27) 链模式\n* [第二十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter28) 委托模式\n* [第二十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter29) 数据访问对象模式\n* [第三十章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter30) 节流模式\n* [第三十一章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter31) 简单模板模式\n* [第三十二章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter32) 惰性模式\n* [第三十三章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter33) 参与者模式\n* [第三十四章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter34) 等待者模式\n* [第三十五章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter35) 同步模块模式\n* [第三十六章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter36) 异步模块模式\n* [第三十七章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter37) Widget模式（其实是实现一个模板引擎）\n* [第三十八章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter38) MVC模式\n* [第三十九章](https://github.com/berwin/learn-javascript-design-pattern/tree/master/chapter39) MVP模式\n* 第四十章 MVVM模式\n\n# The MIT License (MIT)\n\nCopyright (c) 2015 Berwin\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberwin%2Flearn-javascript-design-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberwin%2Flearn-javascript-design-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberwin%2Flearn-javascript-design-pattern/lists"}