The project and its files
The Project tab sets the application's identity and its targets. This page also describes how a project is stored on disk, and who owns what Khnoum produces.
Application identity
| Setting | Purpose |
|---|---|
| Name | the displayed name of the application |
| Identifier | a unique reversed name, such as com.example.customerbook; it is used for the package name and for the application's data folder on the user's computer. Choose it once and for all. |
| Version | 0.1.0, then 0.2.0…; it appears in the installers and allows them to be updated |
| Publisher | your name or your company's |
| Description | a one-sentence presentation (translatable) |
| Icon | an SVG or a square PNG of at least 512 pixels; without an icon, Khnoum draws one with the name's initial |
| On startup | the window opened at launch |
The Overview counts the windows, controls, entities, actions, procedures and errors. "Open folder" opens the project folder; "Generated code" opens the produced code.
Targets
| Target | Produced application |
|---|---|
| Desktop | Windows, Linux and macOS (tick the systems you want): native interface |
| Mobile | Android and iOS: native interface, windows stacked in a single column |
| Web | a server, pages rendered on the server side, for any browser (see Web publishing) |
A single project can target all three at once.
The project on disk
MyProject/
projet.khnoum identity, targets, languages
donnees.khnoum sources, entities, relations
messages.khnoum translated message catalog
fenetres/*.kfen one window per file
etats/*.ketat one report per file
scripts/*.argile Argile modules
ressources/ images and other files
code/ produced code (regenerated, do not modify)
Everything is readable text, one file per element. A project can therefore be versioned with Git like any code: the history shows what changed, and two people editing two different windows do not get in each other's way. The code folder is regenerated and does not need to be versioned.
Double-clicking projet.khnoum opens the project in Khnoum.
Who owns the code
- Your project and the produced code belong to you. You can distribute, sell and modify them, under the licence of your choice.
- The runtime library that Khnoum copies into each application (
khnoum-runtime) is under the free MIT or Apache-2.0 licence: it imposes nothing on your applications. - Khnoum itself, the workshop, is proprietary software (see Account and subscription).
A produced application works without Khnoum: it is an ordinary Rust application that depends on no external service.