{"id":21696447,"url":"https://github.com/madetech/clean-architecture","last_synced_at":"2025-07-25T22:04:19.871Z","repository":{"id":51769884,"uuid":"76376890","full_name":"madetech/clean-architecture","owner":"madetech","description":"A (work-in-progress) guide to the methodology behind Made Tech Flavoured Clean Architecture","archived":false,"fork":false,"pushed_at":"2019-01-17T13:31:57.000Z","size":154,"stargazers_count":156,"open_issues_count":1,"forks_count":15,"subscribers_count":49,"default_branch":"master","last_synced_at":"2025-03-26T06:51:07.278Z","etag":null,"topics":["bce","clean-architecture","clean-code","ddd","guide","work-in-progress"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/madetech.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":"2016-12-13T16:21:26.000Z","updated_at":"2024-10-21T09:53:09.000Z","dependencies_parsed_at":"2022-08-13T01:10:25.009Z","dependency_job_id":null,"html_url":"https://github.com/madetech/clean-architecture","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/madetech%2Fclean-architecture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fclean-architecture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fclean-architecture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madetech%2Fclean-architecture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madetech","download_url":"https://codeload.github.com/madetech/clean-architecture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565061,"owners_count":21125416,"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":["bce","clean-architecture","clean-code","ddd","guide","work-in-progress"],"created_at":"2024-11-25T19:19:53.854Z","updated_at":"2025-04-12T12:07:39.982Z","avatar_url":"https://github.com/madetech.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clean Architecture\n\nHow to begin with \"Made Tech Flavoured Clean Architecture\". \n\nThis style of architecture has had many names over the years including \"Hexagonal\", \"Ports \u0026 Adapters\" and \"Boundary-Control-Entity\".\n\n# Getting started\n\n## Architectural Concepts\n\n* [Use Case](use_case.md)\n* [Domain](domain.md)\n* [Gateway](gateway.md)\n* [Bounded Contexts](bounded_contexts.md)\n\n## Learn by example (Ruby)\n\nThe best way to learn Clean Architecture is through deliberate practice.\n\n*(Work-in-progress)*\n\n### Basics\n\n* [The Mindset](learn/the-mindset.md)\n* [Start with Acceptance Testing](learn/basics/start-with-acceptance.md)\n* [Writing Fake Gateways](learn/basics/fake-gateways.md)\n* [Use Cases organise your code](learn/basics/use-cases-organise.md)\n* [Constructors are for collaborators](learn/basics/constructors-for-collaborators.md)\n* [Don't leak your internals!](learn/basics/do-not-leak-your-internals.md)\n* [TDD everything](learn/basics/tdd-everything.md)\n* [Build in a reliable dependency upgrade path](learn/basics/reliable-dependencies.md)\n* [Your first Real Gateway](learn/basics/gateway-101.md)\n* [Your first Delivery Mechanism](learn/basics/delivery-mechanism-101.md)\n\n### Intermediate\n\n* [Presenters are more flexible](learn/intermediate/flexible-presenters.md)\n* [Keep your wiring DRY](learn/intermediate/keep-your-wiring-DRY.md)\n* [Extend Use Case behaviour with Domain objects](learn/intermediate/extend-with-domain.md)\n* [Extracting a Use Case from a Use Case](learn/intermediate/extract-use-case-from-another.md) \n* [Authentication](learn/intermediate/authentication.md)\n* [Authorisation](learn/intermediate/authorisation.md)\n\n### Advanced\n\n* [Consider the Actors](learn/advanced/consider-the-actors.md)\n* [Substitutable Use Cases](learn/advanced/substitutable-use-cases.md)\n* [Feature Toggles](learn/advanced/feature-toggles.md)\n* [Keep your Domain object construction DRY](learn/advanced/keep-your-domain-object-construction-dry.md) \n\n## Examples in Languages\n\n* [Ruby](ruby/README.md)\n* [Kotlin](kotlin/README.md)\n* Go \n* Clojure\n* JS\n\n# Further Reading\n\n[Clean Architecture](https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html) by Robert C. Martin is extremely similar in nature to \n\n* [BCE](https://www.amazon.com/Object-Oriented-Software-Engineering-Approach/dp/0201544350) by Ivar Jacobson and,\n* [Hexagonal Architecture](http://alistair.cockburn.us/Hexagonal+architecture) (also known as **Ports \u0026 Adapters**) by Alistair Cockburn.\n\nThe Made Tech flavour is slightly different still to exactly what is described in [Robert C. Martin's book about Clean Architecture](https://www.amazon.co.uk/Clean-Architecture-Craftsmans-Software-Structure/dp/0134494164), the choice to rename certain basic concept is deliberate to aid:\n\n- Learning as a Junior \n  - Relating Interactors (Robert's name for UseCase objects) to Use Case Analysis sessions\n  - Retaining an eye on Domain-Driven-Design i.e. What are Domain objects?\n  - Avoiding overloading terminology e.g. Entity (Robert's name for Domain Objects) with EntityFramework Entities\n\nMade Tech flavour Clean Architecture is more [prescriptive than any of these other examples](learn/practicality.md)\n\n## Reference\n\n* [Clean Coders videos](https://cleancoders.com/videos/clean-code)\n* [Clean Architecture Book](https://www.amazon.co.uk/Clean-Architecture-Craftsmans-Software-Structure/dp/0134494164/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fclean-architecture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadetech%2Fclean-architecture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadetech%2Fclean-architecture/lists"}