International PHP Conference
The Conference for PHP and Web Development

The missing validation middleware

Session
Until Conference starts:
✓ 2 in 1 conference package
✓ Group Discount
Register now
Bis Konferenzbeginn:
✓ 2-in-1-Konferenzpaket
✓ Kollegenrabatt
Jetzt anmelden
Thank you for attending
✓ See you in 2023
Danke für Ihre Teilnahme
✓ Wir sehen uns in 2023
Infos
Tuesday, May 31 2022
10:45 - 11:30
Room:
Saal B

In most web applications today, we need to validate the data submitted. It can be through an API endpoint, a CSV line to import, a form, or anything that will be injected in the app. Since the latest PHP versions, we have more and more tools to improve type hinting in our code. There are multiple input validation methods. In France, we use the symfony/validator package a lot. However, those packages don’t validate the data at the right time. We need to build objects that may contain invalid data and then we apply some rules and retrieve the errors. This means that those objects must allow an invalid internal state. It’s not a really good approach to write solid code. Is there another solution? Of course, you can validate the data before building the object. Let’s dive into Valinor: a tiny library that will let you remove a lot of boilerplate code but still keep your application solid!

This Session belongs to the Diese Session gehört zum Programm vom BerlinBerlin program. Take me to the program of . Hier geht es zum Programm von Munich München .

Take me to the full program of Zum vollständigen Programm von Berlin Berlin .

This Session Diese Session belongs to the gehört zum Programm von BerlinBerlin program. Take me to the current program of . Hier geht es zum aktuellen Programm von Munich München or oder Berlin Berlin .

Stay tuned!

Register for our newsletter

Behind the Tracks of IPC

PHP Core
Best practices & applications

Web Development
Broader web development topics

Quality & Security
More about software quality &
security

Agile & People
Getting agile right is so important

Software Architecture
All about PHP frameworks, concepts &
environments

DevOps & Deployment
Learn about DevOps and transform your development pipeline

Content Management Systems
Sessions on content management systems

#slideless (pure coding)
See how technology really works

Web Security
All about
web security