Coder Social home page Coder Social logo

emreksbyn / domaindrivendesignexample Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 12 KB

Bounded Contexts & Value Objects & Aggregate Roots & Repositories & Layered Architecture. It has developed with TechBuddy Channel.

C# 100.00%
bounded-contexts context-mapping domain domain-driven-design domain-specific-language entity subdomain ubiquitous-language aggregate-root repository value-object

domaindrivendesignexample's Introduction

DomainDrivenDesignExample

1- Ubiquitous Language

  • Yazilim ekibi ile Domain Expert arasindaki ortak iletisim

    • Herseyin karsiligi olmasi gerekir.
    • Ayrintilar gundemde olmalidir.
    • Kullanilan dil iyilestirilmelidir.
    • Ornekler somut olmalidir.
    • Amaci anlatmalidir.

2- Bounded Context - Context Mapping

  • DDD tasarimi kisminda en merkezi prensiptir.

    • Bir domain subdomain ler icerebilir ve icermelidir.
      • Siparis , Musteri, Kullanici, Urun, Stok..
    • Kendi iclerindeki tutarlilik ve butunluk olmalidir.
    • Domain Specific Language
    • Bounded Context' ler birbirleri ile iletisim kurabilir !
    • Context Mapping - Bounded Context Kesisim noktalari ve iletisim mimarisi

3- Entity & Value Object, Aggregate Root

  • Domain imizi modelleme kismindaki en sık kullanilan kaliplar

    • Entity -> Kimlige sahip objeler (id)
    • ValueObject -> Kimlige sahip degillerdir (DTO)
    • Aggregate Root -> Icerisinde birbiri olmadan dusunulemez objeleri barindirir. Birbirleri olmadan, olmalarinin bir anlami olmayan objelerdir.
      • Transaction butunlugu
      • Iliskili objeler
      • Is kurallari

4- Services - Repository - Infrastructure

  • Is kurallarinin isletilmesi ve ciktilari yonetmek icin kullanilan bolumlerdir.

    • Services -> Is kurallari ve dogrulama islemleri icin kullanilir.
    • Repository -> Bazi kurallar ile birlikte Aggregate - DB iletisimi icin kullanilirlar.

5- Layered Architecture

  • Dort katmanli mimari DDD nin en temel kavramlarindandir.

    • Domain Layer
    • Application Layer
    • Infrastructure Layer
    • Presentation Layer

6- Refactoring, Clean & Readable Code

  • Sadece anlik gorevi degil, geneli iyilestirmeyi hedefler.

domaindrivendesignexample's People

Contributors

emreksbyn avatar

Watchers

 avatar

Forkers

aakash118

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.