Advanced layouts
The more complex the application, the more complex the structure becomes. To keep application logic organized we can utilize more advanced routing mechanisms such as layout groups and breakouts. By using layout groups, we can organize various layout components without cluttering the application URL. And by inserting simple syntax into pages and templates, we can break a layout or page out from its hierarchy while keeping the structure of our application intact.
Since we organize our application components into logical groupings, it makes sense to organize application functionality into logical groupings as well. To demonstrate using a real-world example, consider interface components that are available to logged-in users but not available to anonymous users. When logged in, users can interact with other users through comments, change their profile information, or view their own notifications. A user of the site that is not logged in should not see any of these components...