•  

Unbreakable Domain Models

A session at Dutch PHP Conference 2013

Friday 7th June, 2013

10:45am to 11:30am (AMT)

DataMappers like Doctrine2 help us a lot to persist data. Yet many projects are still struggling with tough questions:
- Where to put business logic?
- How to prevent our code from abuse?
- Where to put queries, and how test them?

It’s time to look beyond the old Gang of Four design patterns. There are Value Objects, Entities and Aggregates at the core; Repositories for persistence; Specifications to accurately describe object selections; Encapsulated Operations to protect invariants; and Domain Services and Double Dispatch when we need to group behavior safely. These patterns help us evolve from structural data models, to rich behavioral models. They capture not just state and relationships, but true meaning. These patterns protect our models from being used incorrectly, and allow us to test the essence of our applications.

The presentation is a fast paced introduction to the patterns that will make your Domain Model expressive, unbreakable, and beautiful.

About the speaker

This person is speaking at this event.
Mathias Verraes

Student of Systems • Meddler of Models • Labourer of Legacy

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 10:45am11:30am AMT

Date Fri 7th June 2013

Short URL

lanyrd.com/scfmcz

View the schedule

Share

See something wrong?

Report an issue with this session