Object-oriented programming allows you to organize complex data sets in a way that makes manipulating data more streamlined during coding. In large part, this is due to the use of classes and objects within data sets. Understanding object-oriented analysis and design processes helps you learn how to identify classes and objects for use in your development projects.
- View Offline
So we need those concepts and that vocabulary.…But how do we make decisions about polymorphism and inheritance without actually…knowing what our classes and objects are?…Well, we need to go through a process to identify the classes for our application.…Now whether you use a formal software development methodology or not, this is…the entire point of object-oriented analysis and design, what classes do you…need and what do they do?…Now a lot of the formal methodologies have their own unique names for working…through their process, but although there are multiple ways to approach this,…the ideas are fairly similar, and we'll go through a typical approach using five steps.…
One, gather your requirements. Two, describe the application.…Three, identify the most important objects.…Four, describe the interaction between those objects.…And five, create a class diagram.…Now we're going to talk about all of these in more detail, and we'll cover…techniques you use for each step. But let's take it one level deeper right now.…
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