IWS_WS24_clean_architecture/src/framework_driver
michael 82b70ce099 fix user create button 2025-02-03 01:46:13 +01:00
..
db add tasks to READMEs. Add more TODOs 2025-02-02 03:37:40 +01:00
ui fix user create button 2025-02-03 01:46:13 +01:00
README.md add tasks to READMEs. Add more TODOs 2025-02-02 03:37:40 +01:00

README.md

FRAMEWORKS AND DRIVERS

The outermost layer of the model in Figure 22.1 is generally composed of frameworks and tools such as the database and the web framework. Generally you dont write much code in this layer, other than glue code that communicates to the next circle inward. The frameworks and drivers layer is where all the details go. The web is a detail. The database is a detail. We keep these things on the outside where they can do little harm.

Aufgabe

Anforderungen:

Implementierungen:

  • UI: Die UI ist ein Framework. Innerhalb der UI ist es möglich ebenfalls Clean Architecture zu verwenden. In diesem Fall wird MVC verwendet. Implementiere die createUser-Methode in conroller.js um einen User über die UI anzulegen.
  • DB: Die Datenbank ist ein Driver. Um einen User anlegen zu können wird eine passende Tabelle in der Datenbank benötigt. Lege diese über das db/db_setup.py script an. Über python setup_db.py in src kann die Datenbank neu aufgesetzt werden.