{"id":15134382,"url":"https://github.com/andrezatcascais/dio-lab-patterns-project-java","last_synced_at":"2026-02-12T09:32:15.335Z","repository":{"id":252142735,"uuid":"839549436","full_name":"andrezatcascais/dio-lab-patterns-project-java","owner":"andrezatcascais","description":"Exploring Design Patterns in Practice with Java. This course is a module of the Bootcamp organised by DIO - Digital Innovation.","archived":false,"fork":false,"pushed_at":"2025-02-01T18:06:35.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T09:38:00.416Z","etag":null,"topics":["backend","bootcamp-project","design-patterns","facade-pattern","gof-patterns","intellij","java17","mid-level","oop","singleton-pattern","strategy-pattern"],"latest_commit_sha":null,"homepage":"https://www.dio.me/en","language":"Java","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/andrezatcascais.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-07T20:57:44.000Z","updated_at":"2025-06-04T15:02:16.000Z","dependencies_parsed_at":"2024-08-08T00:26:01.047Z","dependency_job_id":"db6dcc60-fb3e-4843-98bb-8c116cf5a02a","html_url":"https://github.com/andrezatcascais/dio-lab-patterns-project-java","commit_stats":null,"previous_names":["andrezatcascais/dio-lab-patterns-project-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrezatcascais/dio-lab-patterns-project-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezatcascais%2Fdio-lab-patterns-project-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezatcascais%2Fdio-lab-patterns-project-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezatcascais%2Fdio-lab-patterns-project-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezatcascais%2Fdio-lab-patterns-project-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrezatcascais","download_url":"https://codeload.github.com/andrezatcascais/dio-lab-patterns-project-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrezatcascais%2Fdio-lab-patterns-project-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["backend","bootcamp-project","design-patterns","facade-pattern","gof-patterns","intellij","java17","mid-level","oop","singleton-pattern","strategy-pattern"],"created_at":"2024-09-26T05:20:17.794Z","updated_at":"2026-02-12T09:32:15.319Z","avatar_url":"https://github.com/andrezatcascais.png","language":"Java","readme":"# Design Patterns\n\nThis repository contains examples and explanations for three common design patterns: Singleton, Strategy, and Facade.\n\n## Singleton\n\nThe Singleton pattern ensures a class has only one instance and provides a global point of access to it.\n\n- **Intent**: To control object creation, limiting the number of objects to one.\n- **Use Case**: When only one instance of a class is needed to coordinate actions across a system.\n\n### [Structure](https://sourcemaking.com/design_patterns/singleton)\n![img.png](assets/img.png)\n#### [Example about the Singleton Pattern](./src/main/java/one/digitalinnovation/gof/singleton)\n\n## Summary: What did I learn about the Singleton Pattern? (doing)\n\n### Application (When is it truly a necessity?) (doing)\nPractical implementation in a real-world product or project that will evolve into a market-ready solution for the company.\n\n###\n\n## Strategy\n\nThe Strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.\n\n- **Intent**: To define a family of algorithms, encapsulate each one, and make them interchangeable.\n- **Use Case**: When you want to define a class that will have one behavior that is similar to other behaviours in a list.\n\n### [Structure](https://sourcemaking.com/design_patterns/strategy)\n![img_1.png](assets/img_1.png)\n#### [Example about the Strategy Pattern](./src/main/java/one/digitalinnovation/gof/strategy)\n\n## Summary: What did I learn about the Strategy Pattern? (doing)\n\n### Application (When is it truly a necessity?) (doing)\nPractical implementation in a real-world product or project that will evolve into a market-ready solution for the company.\n\n\n## Facade\n\nThe Facade pattern provides a simplified interface to a complex subsystem.\n\n- **Intent**: To provide a unified interface to a set of interfaces in a subsystem.\n- **Use Case**: When you want to provide a simple interface to a complex subsystem.\n\n### [Structure](https://sourcemaking.com/design_patterns/facade)\n![img_2.png](assets/img_2.png)\n#### [Example about the Facade Pattern](./src/main/java/one/digitalinnovation/gof/facade)\n\n## Summary: What did I learn about the Facade Pattern? (doing)\n\n### Application (When is it truly a necessity?) (doing)\nPractical implementation in a real-world product or project that will evolve into a market-ready solution for the company.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrezatcascais%2Fdio-lab-patterns-project-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrezatcascais%2Fdio-lab-patterns-project-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrezatcascais%2Fdio-lab-patterns-project-java/lists"}