Published on 02/22/2021 Published by amit
URL Patterns used by Awesome Enterprise
- App Slug controls the access permissions and decides the collection to be used.
- Controller: In case it is not mentioned explicitly then “Page or Post” is assumed.
- Module / Page / Post Slug: The code that needs to be rendered for output
- QS parameters: Anything after the module/post slug is passed to the module as QS parameters, and they can be accessed in the module using aw2.get qs.0, qs.1, etc.
The image below shows an alternative pattern where the controller is missing and assumed to be “Page”.
We currently have “t” and “d” as controllers that can be used in place of app slug in the URL, they have special meanings.