Diagramming during programming helps you see all of the parts and pieces that go into your application. Identifying class relationships takes your diagram to the next level. It not only shows you what actions each class might take, it tells you why. Learn how to identify class relationships by watching this online video.
Once we have a simple conceptual diagram together, it's useful to indicate the…main relationships--also referred to as associations--between these concepts by…just drawing lines between the boxes.…Now many of these will be obvious.…But we can also go back to the Use Cases and User Stories to verify what was written.…So in my case, I know the idea or concept of a Customer had some kind of…relationship, interaction with the shopping cart.…The Shopping Cart could be filled with items. The Order is also made of items.…
There's a relationship between the Customer and the Order because they're the…one who places it, and not surprisingly the Order needs Address information, and…also Payment information and so on.…I'm not even trying to describe every single possible connection,…just the most interesting ones.…Now optionally, it maybe useful to add a short note to actually describe the…relationship. That could be something as simple as say the word Users like the…Customer uses the Shopping Cart.…Although uses is a little generic, it's better to have more specific terms.…
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.