CSE 340: Web Backend Development

Learning Activity (1 of 3): Content Delivery and the MVC Pattern

Preparation Material

Read the following:

  1. The Dynamic Model
  2. Node-postgres Prepared Statements
  3. MVC Illustration
  4. Review: JavaScript Variables

Activity Instructions

In this activity, you will add navigation to your semester project. In particular, you will the Model-View-Controller pattern to retrieve data from the database and use it to construct a dynamic webpage to send to the client.

Complete the following:

  1. MVC Getting Started
  2. Read: Understanding Data Results
  3. Build Inventory route, controller and model
  4. Build the classification view

Submission

Congratulations! You now have a working MVC implementation of the Navigation functionality. This completes this learning activity.

When you have completed all of the learning activities for this week, you will return to Canvas and submit the associated quiz there.

Up Next

Other Links: