How are you supposed to organise your models in an MVC application? What goes where? What is a service class, a mapper or an entity? Domain Driven Design focusses on modelling the domain logic and helps us to map the business requirements to our software. We'll discuss the terminology and take a look at what Domain Driven Design is and see how you use it to provide the model logic for your application decoupling it from your controllers. By the end of this session you will be equipped to create excellent, maintainable models in your application.
Given at PHPSW · January 2024
An introduction to DDD
More from Rob Allen
Feb 2026
Securing Your API: The OWASP Top 10
Rob Allen
Apr 2024
Automate all the things with CI/CD in Github Actions
Rob Allen
Nov 2023
Thoughts on Ubiquitous Language
Rob Allen
Nov 2021
Improve your API with OpenAPI
Rob Allen
Mar 2020
The Making of a Great API
Rob Allen
Jan 2020
Strict typing and static analysis
Rob Allen
Feb 2019
Introduction to Serverless PHP
Rob Allen
Aug 2017
Deployment within a Traditional IT Environment
Rob Allen
Apr 2017
Secure your web application with 2FA
Rob Allen
May 2015
A Slim 3 primer
Rob Allen
Sep 2014
Creating models
Rob Allen