Let's use this space to keep track of the possible options - and final decision. Please add any additional ideas structure ideas here (after discussion, if required).
And use comments to discuss (or a meeting if required).
1. No Default Aspect directory & -blade directories
This is probably more aligned with current simple application structures. The Aspect content is shifted into the root of the app. Blades are in directories in the root of the app with the directories having a suffix of -blade
(similar to the -aspect
and -bladeset
suffixes).
+- myapp
| \- <bladename>-blade
| \- <bladename>-blade
| \- <bladename>-blade
| \- libs
| \- src (JS source for Default Aspect)
| \- themes (themes for Default Aspect)
| -- app.conf
| -- index.html (Default Aspect seed file)
2. Default Aspect directory & -blade directories
+- myapp
| \- <bladename>-blade
| \- <bladename>-blade
| \- <bladename>-blade
| \- default-aspect
| \- libs
| -- app.conf
3. No Default Aspect directory & blades directory for all Blades
In this example the blades go underneath a blades
directory. This is consistent with blades that reside within BladeSets.
+- myapp
| \- blades
| \- blade1
| \- blade2
| \- blade3
| \- libs
| \- resources (resources for Default Aspect)
| \- src (JS source for Default Aspect)
| \- themes (themes for Default Aspect)
| -- app.conf
| -- index.html (Default Aspect seed file)
4. Default Aspect directory & blades directory for all Blades
In this example the blades go underneath a blades
directory. This is consistent with blades that reside within BladeSets.
We keep default-aspect
.
+- myapp
| \- blades
| \- blade1
| \- blade2
| \- blade3
| \- default-aspect
| \- libs
| -- app.conf
Blades Simplified Directory Structure
This is actually issue #80.
The main suggested change here is to .js
files directly under the src
directory to use the blade require prefix (remove the need to repeat the app directory structure).
+- myblade
| \- resources
| \- html
| \- 18n
| \- xml
| -- aliases.xml
| \- src
| -- MyBlade.js
| -- MyClass.js
| \- tests
| \- themes
| \- workbench
Note: I've left out #880 (simplify tests directory structure) from this.