{"id":17102381,"url":"https://github.com/pierdipi/abstractfactorydesignpattern","last_synced_at":"2026-05-01T10:32:35.808Z","repository":{"id":106871781,"uuid":"146909353","full_name":"pierDipi/abstractFactoryDesignPattern","owner":"pierDipi","description":"Abstract Factory Design Pattern [java \u0026 PHP]","archived":false,"fork":false,"pushed_at":"2018-08-31T19:09:28.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:24:49.791Z","etag":null,"topics":["abstract-factory-pattern","design-pattern","design-pattern-java","design-pattern-php","design-patterns","java","php"],"latest_commit_sha":null,"homepage":"https://pierdipi.github.io/abstractFactoryDesignPattern/","language":"PHP","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/pierDipi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-31T15:22:53.000Z","updated_at":"2018-08-31T19:09:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b34b994-66c5-47b0-bf9e-d0ee56340368","html_url":"https://github.com/pierDipi/abstractFactoryDesignPattern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pierDipi/abstractFactoryDesignPattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierDipi%2FabstractFactoryDesignPattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierDipi%2FabstractFactoryDesignPattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierDipi%2FabstractFactoryDesignPattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierDipi%2FabstractFactoryDesignPattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pierDipi","download_url":"https://codeload.github.com/pierDipi/abstractFactoryDesignPattern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pierDipi%2FabstractFactoryDesignPattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["abstract-factory-pattern","design-pattern","design-pattern-java","design-pattern-php","design-patterns","java","php"],"created_at":"2024-10-14T15:28:54.707Z","updated_at":"2026-05-01T10:32:35.769Z","avatar_url":"https://github.com/pierDipi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Abstract Factory Design Pattern\n\nAbstract Factory Design Pattern \n\n___\n\n\u003e **Provide an interface for creating families of related or dependent objects without specifying their concrete classes.**\n\n___\n\n\n\u003e ### Applicability \n\u003e * Use the Abstract Factory pattern when:\n\u003e   * a system should be independent of how its products are created, composed, and represented. \n\u003e   * a system should be configured with one of multiple families of products. \n\u003e   * a family of related product objects is designed to be used together, and you need to enforce this constraint. \n\u003e   * you want to provide a class library of products, and you want to reveal just their interfaces, not their implementations.\n\n\n___\n\n\n#### Examples\n\n\n___\n\n\n* [Java example (**UI components**)](https://github.com/pierDipi/abstractFactoryDesignPattern/tree/master/abstractFactoryJava)\n  ![UML diagram.](/abstractFactoryJava/uml/abstractFactoryExample.png)\n\n\n___\n\n\n* [PHP example (**Books**)](https://github.com/pierDipi/abstractFactoryDesignPattern/tree/master/abstractFactoryPHP).\n  ![UML diagram.](/abstractFactoryPHP/uml/abstractFactoryExample.png)\n\n\n___\n\n\n#### You feel free to add your example. :+1:\n\n___\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierdipi%2Fabstractfactorydesignpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierdipi%2Fabstractfactorydesignpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierdipi%2Fabstractfactorydesignpattern/lists"}