Documentation / Tutorials / Awesome Enterprise
URL Patterns used by Awesome Enterprise
/ Awesome Enterprise / URL Patterns used by Awesome Enterprise
As shown in the above image the URLs in Awesome Enterprise consists of App slug, Controller, Page or Module, and QS parameters.
- 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.