Application Controller

The Application Controller pattern centralizes navigation logic in one place. It acts as an intermediary between the user interface and the domain logic. When a user takes action, the UI notifies the Application Controller. Then, it checks a set of rules based on the app’s current state. This helps decide which business logic (Domain Command) to run and which view to show next. This pattern is great for apps with complex screen flows, such as wizards.