Client / Server 2110213 Information System Organization Natawut - - PowerPoint PPT Presentation

client server
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

IS Components Natawut Nupairoj, Ph.D. 1

Client / Server

2110213 Information System Organization Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University

slide-2
SLIDE 2

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

slide-3
SLIDE 3

IS Components Natawut Nupairoj, Ph.D. 3

Why Client/Server?

Shared data Shared resources

Storages Printers

Security control

slide-4
SLIDE 4

IS Components Natawut Nupairoj, Ph.D. 4

Popular Servers

Web Server Database Server File Server App Server Authentication Server (Radius / LDAP)

slide-5
SLIDE 5

IS Components Natawut Nupairoj, Ph.D. 5

Functional Components

Presentation Logic: User Interfaces. Business Logic: Application Programs and

Services.

Data Logic: Databases.

slide-6
SLIDE 6

IS Components Natawut Nupairoj, Ph.D. 6

Dumb Terminal (single-tier)

Server with “dumb” terminals. Server Terminal key “a” display “a”

slide-7
SLIDE 7

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”

slide-8
SLIDE 8

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

slide-9
SLIDE 9

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)

slide-10
SLIDE 10

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)

slide-11
SLIDE 11

IS Components Natawut Nupairoj, Ph.D. 11

Pros and Cons

Pros:

Simple to develop

(initially).

Cons:

Poor scalability. Poor manageability and

deployability.

slide-12
SLIDE 12

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

slide-13
SLIDE 13

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 ?

slide-14
SLIDE 14

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).