SAMSHub
Die SAMSHub Klasse ermöglicht es einen Modularen Anwendungsserver zu schreiben. Die Klasse sätzt für Module ein einheitlich definiertes Format voraus und erlaubt das dynamische einladen von Modulen auf basis einer Konfigurationsdatei.
Projektlayout
Das Layout eines SAMSHub Projektes sieht im Wesendlichen wie folgt aus-
- Project_Dir/
- __init__.py
- views.py
- modules/
- hallo_modul/
- __init__.py
- manifest.yaml
- languages/
- templates/
- hallo_modul/
- hallo_modul.html
- sub_view.html
- hallo_modul/
- static/
- hallo_modul/
- templates/
- static/