Symfony News

Symfony User Group Cologne - September'18

Hello Symfony friends,

join us for a talk by Christopher Hertel and Christian Flothmann about "Using Symfony Forms with Rich Domain Models". As usual doors will be open at 18:30h and we will start at 19h.

Schedule:
18:30h: Doors open
19:00h: Introduction
19:20h: "Using Symfony Forms with Rich Domain Models" by Christopher Hertel und Christian Flothmann
20:15h: Closing notes & Socializing

The Talk will be held in English.

---

"Using Symfony Forms with Rich Domain Models"
Christopher Hertel und Christian Flothmann

With the popularisation of DDD people started shifting from anemic models with only getters and setters to a rich model describing the state changes in specific methods. This way of designing models does not play well with Symfony forms. User provided input is inherently invalid while we want to maintain certain invariants in our domain model. A common approach to overcome these limitations is to create data transfer objects our forms are then bound to. This can lead to lots of mapping & glue code that might be cumbersome to write and maintain.

But couldn’t we do better? In this talk we will discuss the different aspects of a rich domain model that makes it hard to use it in conjunction with the Form component. We will then look at the possibilities to hook into the data flow of the form handling and discover how we can modify it to interact seamlessly with our model.


Organizer: Mitglieder

Event time: 20-09-2018 18:30:00 CEST

Address:
Balthasarstraße 79
Cologne
Germany
Join
Source: http://www.meetup.com

About us

What a Symfony developer should know about the framework: News, Jobs, Tweets, Events, Videos,...

Resources

Find us on Twitter

Find us on Facebook