Bearbeiten von „Exhibition-Workflow“
Zur Navigation springen
Zur Suche springen
Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden.
Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.
Aktuelle Version | Dein Text | ||
Zeile 5: | Zeile 5: | ||
We use the module "Users" as example | We use the module "Users" as example | ||
* Create a metadata description: lib/meta/users_meta.dart | * Create a metadata description: lib/meta/users_meta.dart | ||
< | <source lang="dart"> | ||
import 'module_meta_data.dart'; | import 'module_meta_data.dart'; | ||
Zeile 28: | Zeile 28: | ||
} | } | ||
} | } | ||
</ | </source> | ||
* Create some source files: (for example: the module "Users") | * Create some source files: (for example: the module "Users") | ||
< | <source lang="dart"> | ||
# precondition: the current directory is the base folder of the dev-app. | # precondition: the current directory is the base folder of the dev-app. | ||
mkdir -p lib/meta/users | mkdir -p lib/meta/users | ||
# The following call works without meta data. It works without recreation of the tool: | # The following call works without meta data. It works without recreation of the tool: | ||
meta-tool print-modules Users >lib/meta/modules.dart | |||
# Now we need a new instance of the meta_tool (to realize the meta data changes): | # Now we need a new instance of the meta_tool (to realize the meta data changes): | ||
./ReCreateMetaTool | ./ReCreateMetaTool | ||
meta_tool print-data Users >lib/meta/users/user_data.dart | |||
# | # show the SQL table definition: | ||
meta_tool print-table | |||
</ | </source> | ||