Join the Talking Drupal podcast as they delve into "The Drupal 10 Development Cookbook" with guests Kevin Quillen & Matt Glaman. Get valuable insights and practical tips for Drupal 10 development in this engaging episode.
Discover the potential solution explored by Matt Glaman in his blog post: Retrofitting Drupal 7 Code for Drupal 10. Learn how the Module Upgrader project aims to streamline the migration process and preserve functionality. Dive into the complexities and possibilities of upgrading legacy Drupal sites
By leveraging the method explained by Matt, developers can extend Drupal's functionality and enhance their projects by registering custom services without the overhead of creating a module.
As the impending end-of-life for Drupal 7 looms, Glaman addresses the challenges faced by organizations seeking to transition to newer versions of the platform.
The author provides examples and code snippets to illustrate the implementation of factories in various scenarios, including using factories with DI containers and managing complex object creation through factories.
The article points out common examples of this anti-pattern, such as assigning the current request object, entity storage, or configuration objects directly to properties instead of retrieving them when needed.
The article demonstrates how the Drupal Project Browser allows frontend developers to create new Drupal projects, clone existing ones, and manage project dependencies with just a few clicks.
Matt also writes about other modules like Linkit, CodeSnippet and Entity Embed in the blog post. CodeSnippet is coming to Drupal core in Drupal 10. The blog post contains the process of replacing Entity Embed with the Media Library.
The post is taken from his talk ‘Lessons learned from helping port the top contrib projects to Drupal 10’ at MidCamp 2023. Matt also lists down his guidelines and recommendations for semantic versioning.