Last active
August 26, 2015 12:19
-
-
Save Nicofuma/4799f76dd5cbf27cfd04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tab > catégorie > module | |
module : | |
class: | |
- title | |
- route | |
- perms (or expression language with auth and other info available ?) | |
- handle() | |
definition: | |
- tag : module => <category_name> && order | |
category : | |
class: | |
- title | |
- route | |
- perms 'or expression language with auth and other info available (like module list) ?) | |
definition: | |
- tag : category => <tab_name> && order | |
tab : | |
class: | |
- title | |
- route | |
- perms 'or expression language with auth and other info available (like category list) ?) | |
definition: | |
- tag : tab => <type (acp, mcp, ucp etc...)> && order | |
- the herarchy is statically defined in the container (no more DB) | |
- module/category/tab defined as service | |
- a common base class to handle navigation | |
- title/route/herarchy/perms cached | |
- a manager to build the hierachy, handle navigation (used by the based class) acp/mcp/ucp agnostic | |
- navigation: | |
if only one category => move modules up and don't display the category | |
if empty tab (no module) => don't display | |
if empty category (no module) => don't display |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment