Drupal 8: All New Routing & rendering system
With Drupal 8 adopting Symfony components, things have improved considerably. In this talk I’ll go through Drupal 8 routing and rendering system, giving a holistic view of Request/Response lifecycle in Drupal 8. We will go through major changes in API and architecture of the new routing system, with side by side comparison of how things were in done in Drupal 7 with tips/gotchas in porting code to Drupal 8. In the same stride, Drupal 8 rendering system is state of the art architecture, allowing us to control ways of rendering content using content renderer services and cache tags bringing long awaited cache invalidation system in Place. Below is a brief outline of the talk:
-
Routes & controllers
-
Parameters in routes
-
Entity parameter upcasting
-
Parameter upcasting
-
Access checking on routes
-
Underlying functionality of routing system in Drupal
-
-
Render pipeline
-
FrontController design pattern
-
Render caching
-
Cache tags
-
Asset dependencies: Loading only the required assets on pages
-
-
Complete understanding of request-response cycle with Drupal 8.
-
Understanding of content-caching layer with Drupal while rendering content.
- Involvement in porting of Drupal 7 modules to Drupal 8.