After you have finalized relationships and the number of classes needed for programming your application, it is time to start creating class diagrams. In this online video, you can learn how to effectively diagram classes to reveal the primary attributes and operations of each class. This step happens just before programming the actual code, so language use becomes a priority.
The information that you have now should be enough to let you create your first…collection of classes. And the most common way to jot these out is with a UML…class diagram, and we've seen these once or twice already.…These are the most common diagram in Object-Oriented Design, and while they…can get advanced, we're going to focus here on the most common that you'll see and use.…So, we want a list of classes, and we'll create a class diagram for each, and for…each class we'll have the primary attributes and primary operations.…And at this point, because we're getting closer to the code, we will pay more attention to naming.…
So, our classes are named in the singular, not plural, and the standard is for…an uppercase first letter, so employee, event, customer, image, product.…Now, with Attributes, you won't know all of them yet, because we've been…focusing on the behavior, on the operations, but you're expecting to just…initially write down the obvious ones, and again, we can add more once we start programming.…
Let Simon Allardice introduce you to the terms—words like abstraction, inheritance, polymorphism, subclass—and guide you through defining your requirements and identifying use cases for your program. The course also covers creating conceptual models of your program with design patterns, class and sequence diagrams, and unified modeling language (UML) tools, and then shows how to convert the diagrams into code.
- Why use object-oriented design (OOD)?
- Pinpointing use cases, actors, and scenarios
- Identifying class responsibilities and relationships
- Creating class diagrams
- Using abstract classes
- Working with inheritance
- Creating advanced UML diagrams
- Understanding object-oriented design principles
Skill Level Intermediate
1. Core Concepts
2. Object-Oriented Analysis and Design
Defining requirements6m 9s
3. Utilizing Use Cases
4. Domain Modeling (Modeling the App)
5. Creating Classes
6. Inheritance and Composition
7. Advanced Concepts
8. Object-Oriented Design Patterns
9. Object-Oriented Design Principles
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.