Packages and Namespaces - Packages and Their Contents
5 important questions on Packages and Namespaces - Packages and Their Contents
Development teams are given a set of Packages to ......
In Fig. 8.10, we show a simple Package structure for a Car Hailing App.
This approach would be suitable for an organization that has a Hailing team and a Payment team and that wanted to divide the work.
If we did our division correctly, they would not often have to..
If we did our division correctly, they would not often have to coordinate.
Although the separate Payment Package teams will need to do some coordination with the Pricing Package team, they will not have to coordinate otherwise.
This approach shown is based on separation of functionality.
DdAnother more recommended approach would be to produce Use Case focused Packages.
In that approach you would construct?
You would still need Packages to cover infrastructure.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
See Fig. 8.11.
What approach is here been used?![]()
- hardware
- and the operating system;
- Middle layer Packages containing utilities, database Packages;
- and higher-level Packages included the application logic.
On the top-level would be User-interface Packages,
In most projects, you could incorporate several different organizing principles.
For example
the Use Case approach might be used to....?
the Use Case approach might be used to divide the UI (User Interface) and Application Logic layers into Packages.
Then the architecture and infrastructure could be distributed into separate Packages by the Layered approach.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)