Class 07 Reading Notes
Domain Modeling
- Creating a model(fuction withing an object) to address a specifc need
- Create small methods that focus on specifc code need
- To reuse a object store it in a variable (accessing outside)
- To reuse withing an object use this
HTML Tables
- Used to connect data
- Reasons to avoid HTML Tables for layouts:
- not compatible with screen readers
- complicates the code
- not responsive
Constructors
- Constructors allow properties/keys to be reused across multiple objects