Introduction to Subtyping in Plain JavaScript
Explore how to implement subtyping and manage class hierarchies in plain JavaScript. Learn to refactor class structures using design patterns and map them to database tables. Understand coding JS model classes along with creating views and controllers based on model designs.
We'll cover the following...
We'll cover the following...
Introduction
Whenever an application has to manage the data of a larger number of object types, there may be various subtype relationships between some of the object types. Handling subtype relationships is an advanced issue in software application engineering. It’s often not well supported by application development frameworks.
In this chapter, we’ll first explain the ...