Principles of UML Modeling
1. The choice of model is important
The choice of what models to create has a profound influence on how a problem is attacked and how a solution is shaped. We need to choose your models well.
- The right models will highlight the most critical development problems.
- Wrong models will mislead you, causing you to focus on irrelevant issues.
For Example: We can use different types of diagrams for different phases in software development.
2. Every model may be expressed at different levels of precision
For Example,
- If you are building a high rise, sometimes you need a 30,000-foot view for instance, to help your investors visualize its look and feel.
- Other times, you need to get down to the level of the studs for instance, when there's a tricky pipe run or an unusual structural element.
3. The best models are connected to reality
All models simplify reality and a good model reflects important key characteristics.
4. No single model is sufficient
Every non-trivial system is best approached through a small set of nearly independent models. Create models that can be built and studied separately, but are still interrelated. In the case of a building:
- You can study electrical plans in isolation
- But you can also see their mapping to the floor plan and perhaps even their interaction with the routing of pipes in the plumbing plan.
0 comments:
Post a Comment