4+1 View Model of Software Architecture & Design
4+1 View Model of Software Architecture & Design
4+1 View Model of Software Architecture & Design
SEC3071
Lecture No. 08
Dr.Isma Hamid
Department of Computer Science
National Textile University
Last Lecture Review
An Architect’s Tasks
Architectural Representations
Invoice/Shipping
Logical Deployment
View View
Scenario
Process Physical
View View
Check-In
Passenger
Automated
Check-In
Booking
Request
Customs Passenger Baggage
Official List Transporter
Employee Date
- cnic : string - day : integer
- name : string - month : integer
- designation : string - year : integer
- dateOfJoining : Date + Date()
- salary : integer
+ Employee()
+ AddEmployee() : void
AreaManager Accountant
- area : string - qualification: string
+ AreaManager() + Qualification()
Show Display
Confirmatio Shopping
n Cart
Check
Credit
Declined
Make
Make Billing Make Billing
Shipping
Invoice Invoice
Order
Type
Post UPS
Save
Record
25 Activity
Software diagram in
Architecture & Process
Design –View
SEC3071
The Physical View
Tables
Shopping Cart
Catalog
JDBC
Catalog
Inventory
Customer ship,
Customers
Pay, Confirmation
Architecture Style =
‒ {Component/Connector Vocabulary, Topology,
Semantic Constraints}
Components (locus of computation),
‒ filter, data store, object, process, server
Connectors (interactions between
components),
‒ procedure call, RPC, pipe, TCP/IP
Key issue - tool support
System simple-cs = {
Component client = { port call-rpc };
Component server = { port rpc-request };
Connector rpc = {
role client-side;
role server-side;
};
Attachements = {
client.call-rpc to rpc.client-side;
server.rpc-request to rpc-server-side;
}
}
System simple-cs = {
...
Component server = {
port rpc-request = {
Property sync-request:boolean = true;
};
Property max-transaction-per-sec:int=5;
Property max-clients-supported:int=100;
};
Connector rpc = { ...
Property protocol:String="axis-rpc";
}; ...
};
39 Software Architecture & Design – SEC3071
Recap
Architectural Representations
1) Unified Modeling Language
o Architecture View Models
o The 4+1 View Model
2) Architecture Description Language