Check out a free preview of the full Enterprise Architecture Patterns course
The "Object Modeling Exercise" Lesson is part of the full, Enterprise Architecture Patterns course featured in this preview video. Here's what you'd learn in this lesson:
Students are instructed to create an object to represent a client project and implements an interface. An initialState object should also be created and implement a ProjectState interface.
Transcript from the "Object Modeling Exercise" Lesson
[00:00:00]
>> What I want you to do is I want you to create an object that represents a client project. And then add some appropriate properties to your new project. So typically for me, I would just default if I'm just stubbing something out to title and description. Create an interface that represents your project model and then create an array of project objects.
[00:00:31]
Now, from here, this is where this gets important, is that I want you to create an interface to represent project state. And initial state object that implements the project state interface.
Learn Straight from the Experts Who Shape the Modern Web
- In-depth Courses
- Industry Leading Experts
- Learning Paths
- Live Interactive Workshops