There are three ways to organize your content in DRAW: Projects, Repositories and Folders.
Projects are containers for all software pieces that share a same objective. They contain apps, user interfaces, data models, business logic, …
Projects can also be used to create libraries of reusable bricks that can be imported into other projects.
Repositories are containers to organize a hierarchy of project. They contain projects or other repositories.
Folder are containers to organize content inside a project. They contain apps, user interfaces, data models, business logic, other folders, …
Organization best practices
When creating a project, it’s recommended to create following folders:
- UI (UI Components, Screens, …)
- Logic (Functions & Actions)
- Data (Data Models, Data Sets, Functions & Actions related to data)
Applications are generally located at the root of the project.
Exercice 1 - First project
- Open your root repository (or use "Olympe" if you don't have yours)
- Create a new Repository named with your name
- Open the new Repository
- Create a new Project named ”Notes”
- Open the Project
- Create a new UI App named “Notes App”
- In the project, create 3 folders:
The result should look like this:
- You can optionally open the app and run it on your smartphone or in a new tab using UI App contextual menu items "Run in browser" or "Share".