Lecture 3-System Architecture Flashcards
What is a context diagram used for(3)?
-Tool for business analysts
-Part of the requirements document in a project
-Used by the project stakeholders
What does layered architecture do?
It organizes the components of a software system into separate layers, each with a specific purpose and function.
What are some advantages of using layers (4)?
- reusability (lower layers contain reusable functions)
- work division (separation of concerns, high cohesion)
- easy to understand, test, and debug.
- some layers can be replaced with new implementations.
What are some disadvantages of using layers(2)?
-Limited scalability
-Can be error prone –> since there is interdependence between layers , parallel processing is not possible
Why use layered architecture (3)?
-Good choice for small, simple apps, or web sites
-Good as starting point
-One of the lowest-cost architecture style
What is the Model-View separation principle?
Model –> domain layer
View–> UI layer