Programmeerimiskeel
style)
.Developed to decouple user interface
from data storage
.Leads to improved maintainability
(changes to UI and database can be made
independently
.Characteristics of a server:
.Passive (slave)
.Waits for requests
.Upon receipt of requests, processes them and
then serves replies
.Characteristics of a client:
.Active (master)
.Sends requests
.Waits for and receives server replies
ITK 2007, Kalev Pihl
Sissejuhatus informaatikasse
21
C:Program FilesMicrosoft OfficeMEDIACAGCAT10j0285750.wmf
C:Program FilesMicrosoft OfficeMEDIACAGCAT10j0285750.wmf
C:Program FilesMicrosoft OfficeMEDIACAGCAT10j0285750.wmf
Three-tier model (Repository style)
ITK 2007, Kalev Pihl
Sissejuhatus informaatikasse
22
http://upload.wikimedia.org/wikipedia/en/6/66/Overview_of_a_three-tier_application.png
Peer-to-peer
•Generalization of client/
server style
•Each subsystem can be a
client and a server
•Two examples from history
Usenet and FidoNet
•Recent application Napster