Hamatoma [Sat, 16 Oct 2021 20:55:15 +0000 (22:55 +0200)]
Benchmark: all data types, creation of records
* Generator:
** List display: Conversion from DB texts to human readable texts.
** Page list refactoring: fetching backend data with FutureBuilder()
** generated pages without "import not used" warning
** new display type: switchWidget for boolean
** page edit: conditional loadRecord() call
* RestServer:
** SQL statement from pages of type list do not have an ending ';'
* helper: new secondsAsTime()
* validators: new isInt() isNat()
* new: common/benchmark_actions + common/random_data
Hamatoma [Sat, 16 Oct 2021 18:17:00 +0000 (20:17 +0200)]
Module benchmarks to implement all widget types.
* helper:
* new: fromString()
* fully tested by unit tests
* Generator:
** implements now the data types bool, date, datetime, float, currency
** correction in generating xxx_data.dart
** sql-generation: the SQL statements remember the newlines inside ('|' instead of "")
Hamatoma [Fri, 8 Oct 2021 06:05:21 +0000 (08:05 +0200)]
Generator routes Structures
* new: application_name.dart
* Routes: uses module name instead of lowercase module name
* new: Structures
* new: AttendedStateful as base class for all meta data driven pages (StateFulWidget).
* new: Handling of multiple asynchronous db requests: DbDataState
* WidgetForm:
** new: flexibleGridAttended(),
** parameters changed: flexibleGrid(): works on a widget list (instead of an AttendedWidget list)
* new: Generator contains all meta data creation parts.
* new: i18n_text_parser parses Dart files for I18N texts.
* new: i18n allows multi language support.
* new: yaml_merger merges SQL statement definitions,
normally generated files and hand made files.
* rest_server: scripts for simple installing on the backend.