Typed Data API still remains quite a mystery for many. We need to get familiar with it in order to really know how entity data is modeled. In this session I'm going to get to the bottom of it, so please fasten your seatbelts and be ready to understand it. Finally...
Wider description:
After this session you will know why TypedData API is so important, when it was introduced, how it works and where you can use it.
Looking into details:
I will quickly go over all the factors including PHP limitations and Drupal 7 historical problems that convinced the community that a low-level API was necessary.
We will learn some fascinating details about the process of implementation on Drupal.org. You will understand the motivations of contributors and why they named it TypedData.
Next stage will be looking under the hood. In an easy to consume way, you will see the most important moving parts there and how they work together.
Then finally we will be prepared to understand how content entity is modelled. I will take it apart and point out every place where TypedData is a foundation.
At the very end I'll demonstrate a few use cases to explain how you may use the API to simplify your coding or where you are already using it.
The session was presented in:
- Drupal Camp Poland 2023
https://youtu.be/_Xc-mubUWdA?si=j3BzUs9TQIscju73
- Drupal Camp Florida 2023
https://youtu.be/T6jD6uontK4?si=UgMOsYmmKxqe5s-d
And is currently in evaluation for DrupalCon Barcelona 2024
My socials:
https://www.drupal.org/u/piotr-pakulski
https://www.linkedin.com/in/pakulski-piotr/
https://www.youtube.com/channel/UC5oaf2jLXorGAamc4N3n6Jw
I'm form Poland and already got chance to visit Bulgaria twice, keeping fingers crossed for the session so maybe there will be next opportunity to visit this beautiful country.
Thank you!