URL Patterns used by Awesome Enterprise

Awesome Enterprise framework supports the following URL patterns

As shown in the above image the URLs in Awesome Enterprise consists of App slug, Controller, Page or Module, and QS parameters.

  1. App Slug controls the access permissions and decides the collection to be used.
  2. Controller: In case it is not mentioned explicitly then “Page or Post” is assumed.
  3. Module / Page / Post Slug: The code that needs to be rendered for output
  4. 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.

Updated on Jun 19, 2021