[In Discussion] Using Weakmap for container serialization solution
19
Attributes in place of Annotations
20
Use appropriate type hints wherever possible
21
What does this mean for the community?
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Grab it
Explore design patterns and PHP 8 features in Drupal Core through this 46-minute conference talk from the Drupal Association. Dive into the evolution of Drupal's architecture, from procedural programming to object-oriented design, and learn how it has embraced industry standards and collaboration with other frameworks. Gain insights into key concepts like Dependency Injection, Service Containers, Factory Methods, and PHP traits. Discover how Drupal 10's adoption of PHP 8.1 impacts development practices, including JIT compilation and stricter type checking. Through real-world examples and benchmarks, understand the performance improvements and code robustness achieved with PHP 8. Ideal for developers familiar with custom module and theme development, this talk provides a comprehensive understanding of standard programming patterns in Drupal core and the exciting new PHP 8 features implemented within it.
Design Patterns and PHP 8 in Drupal Core - From Procedural to Object-Oriented Programming