TLDR: Get Hello World app on GitHub.
Each app’s source files are stored in a separate subdirectory inside
wa-apps/ directory. The subdirectory
name must be equal to the app identifier (app_id).
For a fast start in development of a new app it is convenient to use an app template (dummy app) as described below:
- Download the dummy app’s source code from Webasyst GitHub repository.
- Upload it to a subdirectory named by the app_id of your app inside
wa-apps/[app_id]/ contains the following subdirectories:
The file structure suggested for storing static materials (subdirectories
has a recommendatory nature and can be modified at the developer’s discretion.
Naming rules and locations of files containing PHP code of models, controllers, and actions are described in detail in section Naming rules and recommendations.
Creation of localization files in described in section Localization.