Giter VIP home page Giter VIP logo

clean-arch-delphi's Introduction

Clean Architecture

How to begin with "Clean Architecture".

Getting started

Architectural Concepts

  • Use Case
  • Domain
  • Gateway
  • Infra

Basics

  • The Mindset
  • Start with Acceptance Testing
  • Writing Fake Gateways
  • Use Cases organise your code
  • Constructors are for collaborators
  • Don't 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

  • Delphi

Further Reading

Clean Architecture by Robert C. Martin is extremely similar in nature to

  • BCE by Ivar Jacobson and,
  • Hexagonal Architecture (also known as Ports & Adapters) by Alistair Cockburn.

The Made Tech flavour is slightly different still to exactly what is described in Robert C. Martin's book about Clean Architecture, the choice to rename certain basic concept is deliberate to aid:

  • Learning as a Junior
    • Relating Interactors (Robert's name for UseCase objects) to Use Case Analysis sessions
    • Retaining an eye on Domain-Driven-Design i.e. What are Domain objects?
    • Avoiding overloading terminology e.g. Entity (Robert's name for Domain Objects) with EntityFramework Entities

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

clean-arch-delphi's People

Contributors

alepmedeiros avatar

Stargazers

Mario Guedes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.