{"id":18320208,"url":"https://github.com/gedex/wp_dpp","last_synced_at":"2025-04-09T14:24:03.573Z","repository":{"id":136686253,"uuid":"10024989","full_name":"gedex/WP_DPP","owner":"gedex","description":"WP_DPP ( WordPress Design Pattern in Plugin ) - Applying Design Pattern in WordPress Plugin","archived":false,"fork":false,"pushed_at":"2013-07-29T22:33:59.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T08:24:30.868Z","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/gedex.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":"2013-05-13T05:34:27.000Z","updated_at":"2023-11-07T15:50:16.000Z","dependencies_parsed_at":"2023-03-11T12:00:22.079Z","dependency_job_id":null,"html_url":"https://github.com/gedex/WP_DPP","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/gedex%2FWP_DPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2FWP_DPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2FWP_DPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2FWP_DPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gedex","download_url":"https://codeload.github.com/gedex/WP_DPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054359,"owners_count":21039986,"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-05T18:15:33.581Z","updated_at":"2025-04-09T14:24:03.546Z","avatar_url":"https://github.com/gedex.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"WP_DPP ( WordPress Design Pattern in Plugin )\n=============================================\n\nApplying Design Pattern in WordPress Plugin. From [Wikipedia](http://en.wikipedia.org/wiki/Software_design_pattern):\n\n\u003e In software engineering, a design pattern is a general reusable solution to a\n\u003e commonly occurring problem within a given context in software design. A design\n\u003e pattern is not a finished design that can be transformed directly into source or\n\u003e machine code. It is a description or template for how to solve a problem that\n\u003e can be used in many different situations.\n\n## Structure\n\nEach pattern consists of one or more plugin(s).\n\n## Covered Patterns\n\n### Creational patterns\n\n* [Abstract factory](#)\n* [Factory method](#)\n* [Singleton](#)\n\n### Stuctural patterns\n\n* [Adapter](#)\n* [Bridge](#)\n* [Composite](#)\n* [Decorator](#)\n* [Facade](#)\n\n### Behavioral patterns\n\n* [Iterator](#)\n* [Observer](#)\n* [Strategy](#)\n* [Template method](#)\n\n## How to try?\n\nIf you don't have web development setup locally, you may try install Vagrant first then clone this repo.\n\n~~~text\ngit clone \u003cthis-github-repo\u003e\ncd \u003ccloned-repo\u003e\nvagrant up\n~~~\n\nIf you want to try on your existing WordPress environment, just copy-paste `\u003cdesign-pattern-name\u003e` directory to your `/wp-content/plugins/` directory. For example:\n\n~~~text\ngit clone \u003cthis-github-repo\u003e\ncp -r \u003ccloned-repo\u003e/factory-method /path/to/existing-WordPress-installation/wp-content/plugins/factory-method\n~~~\n\nFor Vagrant environment, here's the credentials:\n\n* MySQL `root:wp`\n* WordPress `admin:wp`\n\n## Reference\n\n* http://en.wikipedia.org/wiki/Software_design_pattern\n* https://github.com/domnikl/DesignPatternsPHP\n\n## License - MIT License\n\nCopyright (c) 2013 Akeda Bagus \u003cadmin@gedex.web.id\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fwp_dpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgedex%2Fwp_dpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fwp_dpp/lists"}