L05: Persistent data

This deals with storage and persistant data using Mongoose as a interface to store data in the MongoDB object database. We also deal with Sessions and Flash messages in the website.

This is around the M in MVC, the Model.

Presentations

Review this HTML presentation of Persistent Data and Storage.

View it as a lecture in swedish or english.

Swedish with Mats L (Spring 2020):

Lecture: Persistent Data and Storage (swe)

English with Johan L and Mats L (Autumn 2019). The first video deals with "DB, MongoDB, Mongoose" and the second video deals with "Sessions and Flash Messages".

Lecture: DB, MongoDB, Mongoose (en)
Lecture: Sessions and Flash Messages (en)

Read & Study

Read and study the following.