Section 1 of 7
Why this matters
In M2 you told Nextcloud your app exists. In this module you tell it what to do when someone visits it. The controller is where your app's logic begins — every HTTP request that reaches your app lands in a controller method. Understanding how that happens, and why Nextcloud's controller pattern works the way it does, is the foundation everything else in the course builds on.