Skip to content
Snippets Groups Projects
Name Last commit Last update
ExampleApp
sams_classes
test
README.md
example_app.py

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
        • static/
    • templates/
    • static/