Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

clean-architecture

> 开发工具
Open source

A (work-in-progress) guide to the methodology behind Made Tech Flavoured Clean Architecture

161 stars0 likes1 views
WebsiteGitHub

About

A (work-in-progress) guide to the methodology behind Made Tech Flavoured Clean Architecture

Clean Architecture

How to begin with "Made Tech Flavour Clean Architecture".

This style of architecture has carried many names, which include "Hexagonal", "Ports & Adapters" and "Boundary-Control-Entity".

Getting started

Architectural Concepts

  • Use Case
  • Domain
  • Gateway
  • Bounded Contexts

Learn by example (Ruby)

Deliberate practice is the best way to learn Clean Architecture.

(Work-in-progress)

Basics

  • The Mindset
  • Start with Acceptance Testing
  • Writing Fake Gateways
  • Use Cases organise your code
  • Constructors are for collaborators
  • Do not leak your internals
  • TDD everything
  • Build in a reliable dependency upgrade path
  • Your first Real Gateway
  • Your first Delivery Mechanism

Intermediate

  • Presenters are more flexible
  • Keep your wiring DRY
  • Extend Use Case behaviour with Domain objects
  • Extracting a Use Case from a Use Case
  • Authentication
  • Authorisation

Advanced

  • Consider the Actors
  • Substitutable Use Cases
  • Feature Toggles
  • Keep your Domain object construction DRY

Examples in Languages

  • Ruby
  • Kotlin
  • Go
  • Clojure
  • JS

Further Reading

Clean Architecture by Robert C. Martin is very close to

  • BCE by Ivar Jacobson, and
  • Hexagonal Architecture by Alistair Cockburn. Hexagonal Architecture is also called Ports & Adapters.

The Made Tech Flavour differs again from the Clean Architecture book by Robert C. Martin. Made Tech renames some of the basic concepts on purpose, for three reasons:

  • A junior developer learns the concepts faster
    • The name "Use Case" connects the object to a Use Case Analysis session. Robert C. Martin calls the same object an Interactor.
    • The name "Domain" keeps Domain-Driven Design in view, and asks the reader what a Domain object is.
    • The name "Domain" avoids a clash with the EntityFramework Entity. Robert C. Martin calls a Domain object an Entity.

Made Tech Flavour Clean Architecture is more prescriptive than any of these other examples

Reference

  • Clean Coders videos
  • Clean Architecture Book

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubybceclean-architectureclean-codeddd

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具