Summary

A quick summary of the contents of the chapter.

We'll cover the following

Key takeaways

  1. This chapter started by identifying the new issues that would arise when adding constraint validations to the application. Once we identified the changes we had to make to the model and view, we made the JavaScript class.

  2. We then converted our information design model to a JavaScript class model by creating check methods to implement the constraints and set methods to set values only if no constraints are violated.

  3. After that we set up the new folder structure that included the lib folder for the library files.

  4. We coded the model logic that implements the constructor function, the property checks and property setters, as well as serialization and data management. Finally, we coded the view to set up the updated user interface.

Get hands-on with 1200+ tech skills courses.