CYCLAD IT ACADEMY
Workshop: Clean Architecture / Ports and Adapters in Java
Trainer: Szymon Janikowski
Would you like to find out when Clean Code can be really done? Learn to distinguish what deserves more advanced architecture and what doesn’t? Would you like to build a project based on Clean Architecture from scratch? This workshop is for you!
Workshop is for everyone who takes part in any architectural decisions closer to code. Useful for creating a design of a microservice or a module inside modular monolith.
During the workshop I will tell you exactly what is Clean Architecture and its close friend - Ports and Adapters. I’ll share with you how it’s described by its creators and propagators: Alastair Cockburn, Vaugh Vernon, Uncle Bob and others.
Except that, the workshop will be very practical. We’ll take a closer look at the domain of flight reservations and find out which part of it should be put inside the clean architecture. We will go through all the concentric layers of this architecture and define what are their levels of abstraction (and what kind of flexibility it gives)
IMPORTANT! During the exercises we will use Java 8 and Maven. Basic knowledge of these technologies is required. We will also use Spring Boot a bit but it’s more a nice to have.
1. Introduction - the reason to use Clean Architecture. What should be put inside it.(Bounded Context, DDD)
2. Introducing the domain - list of requirements
3. Exercise - Finding the most complicated domain fragments which shall be put in the clean architecture
4. Demo - how to start a project with clean architecture - structure of packages, package private access level etc.
5. Demo - how to put a model inside a Clean Architecture (difference between Use Case and Domain Model) What is a port
6. Exercise - putting our model inside the architecture - usage of both use case and domain layer
7. Adapters - introduction to concept
8. Exercise - creating adapters for REST and persistence
Dołączenie do wydarzenia na Facebooku nie jest równoznaczne z zapisaniem się na warsztat/ Joining the event on Facebook does not mean signing up for a workshop.
Free entrance. Limited number of places.