Class Hierarchy

Let’s learn how to create a class hierarchy.

We'll cover the following...

Whenever a class hierarchy is more complex, we can’t simply eliminate it, but instead have to implement it in the following places:

  • In the app’s model code.
  • In the underlying database.
  • In its user interface.

The starting point for our case study is the design model shown below.

We derive a JS class model and a JS entity table model from the design model in the following lessons. The entity table model is used as a design for the object-to-storage mapping that we need to store our application’s objects with the browser’s local ...