IS Components Natawut Nupairoj, Ph.D. 1
Client / Server 2110213 Information System Organization Natawut - - PowerPoint PPT Presentation
Client / Server 2110213 Information System Organization Natawut - - PowerPoint PPT Presentation
Client / Server 2110213 Information System Organization Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University IS Components Natawut Nupairoj, Ph.D. 1 What is Client/Server? If the clients The client
IS Components Natawut Nupairoj, Ph.D. 2
What is Client/Server?
The client computer sends a request for service to the server over a network. If the client’s request is appropriate, the server provides the service. Client Server Networks
IS Components Natawut Nupairoj, Ph.D. 3
Why Client/Server?
Shared data Shared resources
Storages Printers
Security control
IS Components Natawut Nupairoj, Ph.D. 4
Popular Servers
Web Server Database Server File Server App Server Authentication Server (Radius / LDAP)
IS Components Natawut Nupairoj, Ph.D. 5
Functional Components
Presentation Logic: User Interfaces. Business Logic: Application Programs and
Services.
Data Logic: Databases.
IS Components Natawut Nupairoj, Ph.D. 6
Dumb Terminal (single-tier)
Server with “dumb” terminals. Server Terminal key “a” display “a”
IS Components Natawut Nupairoj, Ph.D. 7
Example: Registration System
Add a course: Server Terminal “select a course” “2110213”
Check dept. Check preq. Check total credit
“course added”
IS Components Natawut Nupairoj, Ph.D. 8
Pros:
Single place, easy to control.
Cons:
Expensive, big spaghetti bowl,
inflexible, lack of applications, take long time to develop.
Pros and Cons
Presentation Data Business
IS Components Natawut Nupairoj, Ph.D. 9
Dumb Server (Two-Tier)
Database server with fat clients
- VB / Developer 2000 client program + SQL database.
database command result DB Server PC Client (Reg Program)
IS Components Natawut Nupairoj, Ph.D. 10
Example: Registration System
Add a course: get all my courses 2110211, 2110213, … DB Server
Check dept… ok! Check preq… ok! Check total credit < 22 ?
PC Client (Reg Program)
IS Components Natawut Nupairoj, Ph.D. 11
Pros and Cons
Pros:
Simple to develop
(initially).
Cons:
Poor scalability. Poor manageability and
deployability.
IS Components Natawut Nupairoj, Ph.D. 12
Shared Processing (Three-Tier)
Database + Web server / App server + Browsers (Thin
clients).
DB Server PC Client (Browser) Web Server / AppServer db command result POST HTML
IS Components Natawut Nupairoj, Ph.D. 13
Example: Registration System
DB Server PC Client (Browser) Web Server / AppServer
get my all courses 2110211, …
add 2110213
HTML “Course added” Check dept… ok! Check preq… ok! Check total credit < 22 ?
IS Components Natawut Nupairoj, Ph.D. 14
Pros and Cons
DB Svr App Svr B B B Web Svr App Svr App Svr
Pros:
Scalability. Flexible. Simple to manage. Great for integration.
Cons:
Slightly difficult to
develop (initially).