Skip to main content

Controller Design Pattern. Drupal 7 to Drupal 8 Migration.

Backend & Dev-ops
Nik Alexandrov (nafes), Vic Tarcenco (vicont)
Audience Experience Level
Drupal Intermediate

The meaning of the word "Controller" in relation to the software and hardware environments is discussed. Inherent difficulties then assigning Controller roles as part of Model View Controller (MVC) are revealed. Where exactly is the business logic place? Controller works in drupal but URL routing is an aspect that was never considered when MVC was created. This Pro and Cons are discussed based on an example of module migration from drupal 7 to drupal 8.