Cronache di Domain-Driven Design
Cronache di Domain-Driven Design
Storie, esperienze sul campo, progetti reali raccontati in modo diverso.
Info sul libro
Questo libro è il nostro contributo per colmare il gap narrativo nella community italiana. Abbiamo volutamente limitato la parte didattica del libro — i concetti fondamentali sono elencati e riassunti, ma non approfonditi — per poterci concentrare sulle storie: esperienze sul campo di colleghi e colleghe che hanno applicato Domain-Driven Design e sono ben contenti di averlo fatto.
DDD funziona, le storie di successo ci sono: è solo molto complicato scriverle. Con questo libro proviamo a raccontarle in un modo un po' diverso.
Indice
-
Building Blocks
-
Perché Domain-Driven Design
-
Quale problema risolviamo
- Ambito di applicazione
- The journey, not the destination
- La regola del fight club
- Il traino dei Microservizi
- DDD come un bersaglio in movimento
- Perché questo libro?
-
Quale problema risolviamo
-
Comprendere il dominio
- Ubiquitous Language
-
Bounded Contexts
- Modelli senza compromessi
- L’importanza di proteggere i confini
- Complessità accidentale
- Creative Collaboration
-
Model Exploration Whirlpool
- Un’opzione non è abbastanza
- Breakthrough
- Deliberate Discovery
-
EventStorming
- Big Picture EventStorming
- Process Modelling
-
Strategia
- Il rapporto con il business
-
Strategic Distillation
- Sviluppare nel core domain
- Trovare il Core Domain con Big Picture EventStorming
-
Context Mapping
- Brownfield Context Mapping - Scegliere le battaglie
- Greenfield Context Mapping - Disegnare i confini
- Team Topologies
-
Architetture
-
Blue Book Architecture
- Architettura a strati
- Tactical patterns
- L’effetto combinato
- Implementare i Bounded Context
- Architettura Esagonale
-
Red Book
- Comandi ed eventi
- Services e layers
-
Command-Query Responsibility Segregation (CQRS)
- Segregazione forte
-
Event Sourcing
- Implementare aggregati in Event Sourcing
- Event Store
- CQRS/ES
-
Event-Driven Architecture
- Domain Events vs Integration Events
-
Microservizi
- La sovrapposizione con i Bounded Context
- Mantenere la visione d’insieme
- Functional Programming
- Actor Model
-
Software Design EventStorming
- Precisi nel dominio, aperti nell’implementazione
- Behaviour-Driven Development
- Va bene tutto?
-
Blue Book Architecture
-
Perché Domain-Driven Design
-
Storie
-
DDD e Microservizi
- Introduzione
- DDD loves MS
-
La classe che tutti vogliono
- Microservizi a livello di Bounded Context
- La PCI-DSS, questa sconosciuta
- E infine venne il M O N O L I T E…
-
Brutte Storie
- Mi sembra che vada tutto troppo bene
- Cosa vuoi che succeda se rinominiamo un campo?
- Quindi che devo fare?
- Conclusioni
-
Domain-Driven Design: collaborazione creativa e onestà intellettuale
- Introduzione
- Collaborazione
- Creatività
- Onestà intellettuale
- Una visione sistemica
- Come metterlo in pratica?
-
Domain-Driven Frontend
- Un problema di linguaggio
- La prima divisione: introduciamo i Services
- Enter the Aggregates
- Una questione di Eventi
- Com’è andata a finire?
-
DDD e Actor Model
-
Introduzione
- Un po’ di storia
- Arrivano i requisiti
- Il carrello
- L’implementazione
- Retrospettiva
-
Introduzione
-
Industrial Internet of Things e Domain-Driven Design
- IIoT e Domain-Driven Design
- Gestiamo il parcheggio
- Arrivano gli imprevisti
- Conclusioni
-
DDD per Non-Tecnici
- Introduzione
- Una chiacchierata tra uno sviluppatore e una Programme Manager
- Conclusioni
-
Il primo eCommerce in CQRS+ES: errori e successi
- Il cambio di mentalità nel codice e nella UX
- Eventi, stati e TDD
- Le soddisfazioni nel capire cosa succede in tempo zero
- Il Versioning
- Dagli automatismi di un “IoC container” al bootstrapper lungo un chilometro
- Conclusione
-
DDD e Microservizi
-
Bonus
-
DDD incontra Functional Programming
- Introduzione
- Di cosa parliamo quando parliamo di Functional Programming
-
Cosa ci insegnano i Value Objects
- Il bello di non cambiare mai
- Quello che non sai di non sapere
- Functional Programming Language
-
Refactor DDD to FP
- Introduzione al dominio
- Aggregate Root nella forma classica
- Primo Refactoring: completa immutabilità
-
Secondo Refactoring: tipi di dati algebrici
- Prodotto
- Somma
- Pattern Matching
- Sfruttiamo gli ADT
-
Terzo Refactoring: rimuoviamo le eccezioni
- Introduzione alle Monadi
- Fase di creazione
- Fase di combinazione
- Mettiamoci un po’ di zucchero
- Fase di consumo
- Rimuoviamo le eccezioni
- Application Layer
- Infrastructure layer
- FP adora Event Sourcing (e viceversa)
- Conclusioni
-
Gli autori dei capitoli contenuti in questo libro
- Alberto Acerbis
- Alberto Brandolini
- Alessandro Colla
- Emanuele DelBono
- Francesco Strazzullo
- Gianluca Padovani
- Julie Camosseto
- Marco Consolaro
- Matteo Baglini
- Uberto Barbini
- Bibliografia
-
DDD incontra Functional Programming
- Note
Info sull'editore

This book is published on Leanpub by Avanscoperta
Avanscoperta is the go-to learning space for software developers and any professional involved in the digital ecosystem.
As a publisher, we want to help some of our most innovative trainers and collaborators to formalize their wisdom in books.
We are a growing community of professionals and we share a great passion for learning: we like exchanging experiences and ideas, and exploring uncharted territories within the software world in its broadest possible meaning.
Our goal is to spread knowledge independently from the format (courses, publications, talks...) so getting into books seemed obvious.
We strongly believe that high quality always pays off. We carefully select the most relevant topics and the best trainers and thought leaders worldwide. We prefer practical teaching approaches, even in the remote scenario, with an eye for the most engaging teaching techniques. Start from the problems, not from the solutions: that’s the guiding principle we always stick to when building our educational offer.
We want to turn the software world into a better place, and we do all we can to make it happen, one step at a time, learning something new every day. That’s why our motto is We Are Learners!
Leanpub è garantito dalla formula soddisfatti o rimborsati. Nessun rischio, garanzia di Felicità al 100%
Entro 60 giorni dall'acquisto è possibile ottenere un rimborso completo del 100% del valore su qualsiasi acquisto Leanpub. Vedi completi.
Do Well. Do Good.
Authors have earned$11,716,512writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
Recipes for Decoupling
Matthias NobackWrite software that survives
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
CQRS by Example
Carlos Buenosvinos, Christian Soronellas, and Keyvan Akbary- Leverage your Software Architecture skills by learning everything about CQRS in detail with lots of examples
- Develop faster applications by applying CQRS and fostering Read Models and Projections
- Learn how to apply CQRS into a brownfield project from a pragmatic approach
C++20 - The Complete Guide
Nicolai M. JosuttisAll new language and library features of C++20 (for those who know previous C++ versions).
The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps.
Buy early, pay less, free updates.
Other books:
Jetpack Compose internals
Jorge CastilloJetpack Compose is the future of Android UI. Master how it works internally and become a more efficient developer with it. You'll also find it valuable if you are not an Android dev. This book provides all the details to understand how the Compose compiler & runtime work, and how to create a client library using them.
Maîtriser Apache JMeter
Philippe Mouawad, Bruno Demion (Milamber), and Antonio Gomes RodriguesToute la puissance d'Apache JMeter expliquée par ses commiteurs et utilisateurs experts. De l'intégration continue en passant par le Cloud, vous découvrirez comment intégrer JMeter à vos processus "Agile" et Devops.
If you're looking for the newer english version of this book, go to Master JMeter : From load testing to DevOps
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
The PowerShell Scripting and Toolmaking Book
Don Jones and Jeff HicksLearn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the industry's two most recognized experts on the subject.
Mastering STM32 - Second Edition
Carmine NovielloWith more than 1200 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the most complete guide around introducing the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL and STM32CubeIDE development environment.
Introduction to Data Science
Rafael A IrizarryThe demand for skilled data science practitioners in industry, academia, and government is rapidly growing. This book introduces concepts from probability, statistical inference, linear regression and machine learning and R programming skills. Throughout the book we demonstrate how these can help you tackle real-world data analysis challenges.
Top Bundles
- #1
Software Architecture
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #4
Pattern-Oriented Memory Forensics and Malware Detection
2 Books
This training bundle for security engineers and researchers, malware and memory forensics analysts includes two accelerated training courses for Windows memory dump analysis using WinDbg. It is also useful for technical support and escalation engineers who analyze memory dumps from complex software environments and need to check for possible... - #6
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon...