Review of the Advanced Web Application Architecture

What is the Book About

Writing Style & Code Examples

Personal Impression

Ideas that Made My Day

Chapters in Detail

✖ ORM Mappings in PHP Annotations (chapter 2.5.1)

✔ Don’t Use Active Record (chapter 2.8)

✔ Use Read Model (chapter 3)

✔ Hide Low Level Details (chapter 3)

❓ How to Solve Naming Collisions (chapter 3)

✖ Naming “Application Services” (chapter 4)

✖ Using Mocks in Tests (chapter 5.7)

✖ Misinterpretation of Inversion of Control (chapter 5.9)

✔ Behavior of Objects (chapter 7.4)

✖ Validation (chapter 8)

Multiple Validation Errors

Translatable Exceptions

Different Exceptions

Double Effort Solution

✔ Structure of Application

✖ Connecting UI and Application Service Layers (chapter 13)

✖ Contract Testing (chapter 14.3)

✔ Gherkin Scenario Based Testing (chapter 14.5)

Given the user has not ordered yet
When the user adds a book with price 100€ into the cart
Then the shopping cart total is 90€

✔ Development Workflow (chapter 14.7)

➕ Topics I Miss in the Book

Thank You


Developer interested in Domain-Driven Design & Modeling