Model View Controller
![](./talk-0-mvc/mvc.png)
request · router · controller · view · response
Views
![](./talk-1-views/views.png)
{#extends /} · {#set /}· {#list /}· /#list /} · {#menu /}· {#listsongs /}
Models
![](./talk-2-models/models.png)
table · row · mem · yaml · Song · Playlist · ArrayList · OneToMany · OnApplicationStart
Lab-08a Playlist-2
![](./book-a-playlist-2/img/main.png)
Move the playlist model into the database. Prime the database from a YAML file.
Lab-08b Playlist-3
![](./book-b-playlist-3/img/main.png)
Move the playlists into their own view. Introduce routes for opening the playlist and also deleting individual songs.