Knowledge-base
  • Home
  • Samman Technical Coaching
  • Software craftsmanship
    • Practices
      • Pair Programming
      • Code Review
      • Co-designs
      • Design sessions
      • Interview Domain Experts
      • Dev ethics
    • The Software Craftsman
    • Egoless Crafting
    • Technical debt workshop
    • Functional Programming made easy in C# with Language-ext
    • F# for OO programmers
    • Domain Modeling Made Functional
    • Testing
      • Clean Tests
      • Improve the design and testing of your micro-services through CDC Tests
        • CDC testing made simple with Pact
        • Pact broker : the missing piece of your Consumer-Driven Contract approach
      • Improve your test quality with Mutation testing
      • How to name our Unit Tests
      • How to write better assertions
    • Katas
      • TDD
        • Stack kata
        • Fizzbuzz
        • Outside-in TDD (London Style)
      • Improve your software quality with Property-Based Testing
        • A journey to Property-Based Testing
      • Clean Code
      • Clean Architecture
      • Write S.O.L.I.D code
      • Mocking
      • Gilded Rose (Approval Testing)
      • Mikado method
        • Mikado kata
      • Pure functions
      • Theatrical players refactoring Kata
        • Let's refactor (OOP style)
        • Let's refactor (FP style)
      • Functional Programming made easy in Java & C#
      • Refactoring journey
      • Refactoring du Bouchonnois
        • 1) Se faire une idée du code
        • 2) "Treat warnings as errors"
        • 3) Let's kill some mutants
        • 4) Améliorer la lisibilité des tests
        • 5) "Approve Everything"
        • 6) Définir des propriétés
        • 7) Tests d'architecture
        • 8) Use Cases
        • 9) Tell Don't Ask
        • 10) "Avoid Primitives" - Commands
        • 11) "Avoid Exceptions"
        • 12) "Event Sourcing"
    • Software Design X-Rays
      • Workshop
    • The Programmer's Brain
      • How to read code better
  • Software Architecture
    • Fundamentals of Software Architecture
    • Aligning Product & Software Design
    • DDD re-distilled
    • Test your architecture with Archunit
    • NoSQL
  • Agile coaching
    • How to run a Community of Practices (COP)
    • The developers — the forgotten of agility
      • The secrets to re-on-board the devs in agility
    • Coaching toolbox
      • Echelle
      • Learning expedition
    • How to improve Team Decision making ?
      • Decision Making Principles and Practices
    • Learning 3.0
    • Retrospectives
      • Back to the Future
      • Mission Impossible
      • Movie themes
      • Rétro dont vous êtes le héros
      • Sad/Mad/Glad
      • Speed boat
      • Star wars theme
      • Story cubes
    • Technical Agile Coaching with the Samman Method
    • Xanpan - a team centric agile method story
    • XTREM WATCH — Découvrez la puissance de la veille collective
    • Become a better speaker through peer feedback
    • Project-to-Product Principles
  • Leadership
    • Bref. J'ai pris une tarte dans la gueule (et ça fait extrêmement de bien)
    • Forward Summit 2020
    • Learn leadership from the Navy SEALs
    • Learn to lead and help your team(s) to be successful
    • Towards a learning organization and beyond
    • Leadership is language
  • Serious games
    • My serious games
    • Libérez vos entretiens d’embauche avec la gamification
    • How to create a game
    • How to debrief a game ?
    • Lego Serious Play (LSP)
      • LSP in your job interviews
  • Xtrem Reading
    • Cultivate Team Learning with Xtrem Reading
    • My Book Infographics
    • How to make book infographics
    • En route vers l’apprenance avec Xtrem Reading
    • Resources
      • Book notes
        • Agile People: A Radical Approach for HR & Managers
        • Agile testing : A Practical Guide for Testers and Agile Teams
        • Boite à outils de l'intelligence émotionnelle
        • Building a better business using Lego Serious Play method
        • Building evolutionary architectures
        • Code that fits in your head
        • Culture Agile
        • Culture is everything
        • Domain-Driven Design: The First 15 Years
        • Dynamic Reteaming - The Art and Wisdom of Changing Teams
        • How to avoid a Climate Disaster
        • La liberté du commandement
        • Réaliser ses rêves, ça s'apprend
        • Refactoring at Scale
        • Succeeding with OKRs in Agile
        • Team Topologies
        • The Good Life
        • Tu fais quoi dans la vie
        • Who Does What By How Much?
  • My Activity
    • Retour sur mon année 2020
Powered by GitBook
On this page
  • Workshop notes
  • Source code
  • Extra Material of the Workshop
  • To go further

Was this helpful?

  1. Software craftsmanship

Domain Modeling Made Functional

Great book and workshop followed with Scott Wlaschin

PreviousF# for OO programmersNextTesting

Last updated 4 years ago

Was this helpful?

Workshop notes

Source code

Extra Material of the Workshop

  • Functional DDD

  • Learning F#

  • F# Front end:

  • F# web frameworks:

  • Working with JSON and databases

  • Advanced F#

  • Event sourcing

  • Adopting FP in your company

  • F# tips and example code

To go further

Links for if you want to keep going after the workshop :

  1. see the link at the bottom of the Google Docs file at

  2. For C# compatibility, see code at: DmmfWorkshop/CSharpInterop

  3. For monads and more, see slides: F-FP_toolkit.pdf code: DmmfWorkshop/src/F-ImplementingWorkflows/01-Exercises.txt

-- comedy sketch with lessons for DDD

(talk)

on fsharpforfunandprofit.com

There is a whole (excellent)

Also

(uses ASP.NET core)

(standalone)

-- how to share algebraic data types with the outside world

talk and blog post

FsUno -

closer to what would be put in production

-- how to ensure that new ideas work inside a company

-- a lot of guidelines for developing in F#

-- some examples of Async

-- demonstrates async and result workflow

-- common classes like NonEmptyList, etc

-- utilities for testing

(simple) -- AWS + Json wrappers

For capability-based design see:

Read his great book on the topic :

https://github.com/swlaschin/DmmfWorkshop
Four Candles
Reinventing the transaction script
fsharpforfunandprofit.com/ddd
“Designing with Types” series
Serializing a rich domain model to a database, JSON, etc
Code from "Domain Modeling Made Functional" book
Evolving a DDD design: Microwave example project
Functional Domain Modeling (Scala Version)
FSharpKoans
Elmish -- the Elm Architecture for F# frontends
book on using Elmish
https://compositional-it.com/blog/2017/09-21-safe-elmish/index.html
https://safe-stack.github.io/
Giraffe
Suave
Serializing your domain model
https://fsharpforfunandprofit.com/video/
Capability-based design
Map, apply, bind and “elevated” worlds
Cyclic dependencies are evil
Event Sourcing - Step by step in F#
https://github.com/thinkbeforecoding/FsUno
A more advanced version of FsUno
Video: Adopting FP: A Human-First Approach
F# to C# interop tips
C# LINQ -> F# equivalents
“Effective F#” gist
DTO validation example
AsyncExample.fs
AsyncResult Workflow Template
Utility.fs
Testutils.fs
Wrapping
https://fsharpforfunandprofit.com/cap/
https://www.youtube.com/watch?v=fi1FsDW1QeY
Domain Modeling Made Functional