Class 07 Reading Assignment
Domain Modeling
Domain Modeling
- Explain why we need domain modeling:
Domain modeling is the process of creating a conceptual model in code for a specific problem. A domain model that’s articulated well can verify and validate the understanding of a specific problem among various stakeholders. As a communication tool, it defines a vocabulary that can be used within and between both technical and business teams.
HTML Table Basics
-
Why should tables not be used for page layouts?
Layout tables reduce accessibility for visually impaired users. Tables produce tag soup. Tables are not automatically responsive.
-
List and describe 3 different semantic HTML elements used in an HTML <table>:
-
/ | table data / table row
-
table headers
|
-
styling info for an entire column of data in one place.
Introducing Constructors
Introducing Constructors
-
What is a constructor and what are some advantages to using it?
A special function that creates and initiializes an object instance of a class. The constructor gets called when an object is created using the new keyword. The constructor creates a new object and set values for any existing object properties.
-
How does the term differ when used in an object literal versus when used in a constructor?
When you only have to create a single object literal, it's not very useful. But when creating more than one, enables you to use the same methond definition for every object you create.
Object Prototypes Using a Constructor
Object Prototypes Using a Constructor
- Explain prototypes and inheritance via an anlogy from your previous work experience.
Every function in JavaScript has a prototype property that references an object. The most important difference between class- and prototype-based inheritance is that a class defines a type which can be instantiated at runtime, whereas a prototype is itself an object instance.
Bookmark and Review
HTML Table Advanced Features and Accessibility