|
PSPS Object-oriented Design
Principles to Follow
- Limited
Access to the Database
- Modularity
- Assume
the manual has been given as user requirements for a system yet
to be built
- Use OTS pieces, wherever
possible
- Use inheritance, wherever it
helps Principle 2
Steps to Follow
- Divide the functions into basic tasks, which
will translate into Class groups .
- Break each task into classes
- Use inheritance to provide specific functionality
- Create data classes to hold local data and separate
data from functionality
Step 1
|