-
Notifications
You must be signed in to change notification settings - Fork 3
Domain Knowledge Model
hilaire edited this page Dec 7, 2025
·
8 revisions
- A DKM depends on the
DKM-Corepackage, it provided the abstract classDKMPresenter. - A DKM should be implemented with the MVP pattern (Model-View-Presenter)
Describe the technical structure of a DKM in the Host system, particularly its files organization.
- Directory nomenclature per teaching domains, topics. For example,
Physics/Thermodynamic/GasSimulation,Mathematics/Geometry/InteractiveGeometry. - One DKM, one Cuis package
- Each DKM is in its own directory with its related data:
Physics/Thermodynamic/GasSimulation/
GasSimulation.pck.st
version
i18n/locale/fr/LC_MESSAGES/GasSimulation.mo
i18n/po/GasSimulation.pot
i18n/po/fr.po- A DKM may depends on one or more
CuisFrench.pck.st,CuisSpanish.pck.stpackages to provide user programming with localized messages and classes. The localized versions of the messages specific to the DKM itself must be provided in the DKM package itself, in a dedicated category or subclass of its Presenter class. (i.e. DSL-French, DSL-Spanish, etc.). - The
versionfile informs the version of the DKM DSL. Better in the form of a date stamp2025-12-07. Its objective is to ensure compatibility between user script and a DKM package. Version number should increase only when the DKM DSL has incompatible changes. - When the user first starts its DyboApp environment, it installs the DKM he wants to use. The DKMs are installed from theirs respective directory.