CS 374: Database Systems
James Madison University, Spring 2022

Mar 22: Web Architecture, 3-Tier Apps

Lesson Outline

25 min Lecture Slides
* How the web works
* 3-tier architecture
* Example frameworks
20 min Flask Demo
* Set up dev env
* Web application
* HTML template
* Set launch.json
10 min HW5 Demo
* CREATE TABLE in sec1
* What the app looks like
20 min Work Time
* Set up flask on your laptop
* Get started on HW5 / GP4

Before Thursday

  1. Textbook: Read PDBM 15.1, 15.6 (13 pages).

  2. Homework: Work on HW5 (due this Sunday).


Getting Started with Flask

Video Tutorial

Documentation

You might find the following pages helpful:

IMDb Example

imdb.py

imdb.html