{"id":21198984,"url":"https://github.com/an5dy/design-pattern","last_synced_at":"2025-03-14T22:21:24.798Z","repository":{"id":236990601,"uuid":"266064583","full_name":"An5dy/design-pattern","owner":"An5dy","description":"设计模式","archived":false,"fork":false,"pushed_at":"2020-05-24T12:50:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T14:46:30.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/An5dy.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}},"created_at":"2020-05-22T08:56:12.000Z","updated_at":"2020-05-24T12:50:30.000Z","dependencies_parsed_at":"2024-04-29T15:07:00.728Z","dependency_job_id":null,"html_url":"https://github.com/An5dy/design-pattern","commit_stats":null,"previous_names":["an5dy/design-pattern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/An5dy%2Fdesign-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/An5dy%2Fdesign-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/An5dy%2Fdesign-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/An5dy%2Fdesign-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/An5dy","download_url":"https://codeload.github.com/An5dy/design-pattern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243653394,"owners_count":20325735,"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-11-20T19:54:52.181Z","updated_at":"2025-03-14T22:21:24.778Z","avatar_url":"https://github.com/An5dy.png","language":"PHP","readme":"# 设计模式学习\n- 备忘录模式(memento)\n\u003e 备忘录模式（Memento Pattern）保存一个对象的某个状态，以便在适当的时候恢复对象。备忘录模式属于**行为型模式**。\n- 状态模式(state)\n\u003e 在状态模式（State Pattern）中，类的行为是基于它的状态改变的。这种类型的设计模式属于**行为型模式**。\n- 迭代器模式(iterator)\n\u003e 迭代器模式（Iterator Pattern）是 Java 和 .Net 编程环境中非常常用的设计模式。这种模式用于顺序访问集合对象的元素，不需要知道集合对象的底层表示。迭代器模式属于**行为型模式**。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan5dy%2Fdesign-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fan5dy%2Fdesign-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fan5dy%2Fdesign-pattern/lists"}