Client Server and Internet - PowerPoint PPT Presentation

1 / 34
About This Presentation
Title:

Client Server and Internet

Description:

CGI is the method that Web servers use to communicate with programs that Web ... CGI replacement but remains in memory after a client request ... Resource : Tutorial ... – PowerPoint PPT presentation

Number of Views:55
Avg rating:3.0/5.0
Slides: 35
Provided by: O753
Category:

less

Transcript and Presenter's Notes

Title: Client Server and Internet


1
  • Client /Server and Internet
  • Lecture 4

Lecture 4

Client/Server and
Internet
2

OVERVIEW
  • Web Technology
  • The Interactive Web
  • Common Gateway Interface (CGI)
  • Web Client/Server (Java Style)

Lecture 4

Client/Server and
Internet
3

Lecture 4

Client/Server and
Internet
4

Lecture 4

Client/Server and
Internet
5

Lecture 4

Client/Server and
Internet
6

Lecture 4

Client/Server and
Internet
7

Web Technology
  • Four technologies on top of the Internet
    infrastructure
  • URL (Uniform Resource Locator) used to globally
    name and access all Web resources.
  • HTTP used to access and retrieve URL-named
    resources.
  • HTML used to embed hyperlinks and to describe
    the logical structure of Web documents.
  • Web browser used as universal client.

Lecture 4

Client/Server and
Internet
8

Static, Read-only HTML Pages
Lecture 4

Client/Server and
Internet
9

Dynamic, Interactive Web Server (3-tier
Architecture)
Lecture 4

Client/Server and
Internet
10


Lecture 4

Client/Server and
Internet
11

1
4
2
3
Lecture 4

Client/Server and
Internet
12

Lecture 4

Client/Server and
Internet
13

http
//www.address.com
7800
/path/subdir/file.ext
Lecture 4

Client/Server and
Internet
14

Lecture 4

Client/Server and
Internet
15

Lecture 4

Client/Server and
Internet
16

Lecture 4

Client/Server and
Internet
17

Lecture 4

Client/Server and
Internet
18

Lecture 4

Client/Server and
Internet
19

Lecture 4

Client/Server and
Internet
20

Lecture 4

Client/Server and
Internet
21

Lecture 4

Client/Server and
Internet
22

Lecture 4

Client/Server and
Internet
23

Client-side Technology
  • HTML
  • JavaScript
  • Visual Basic Script
  • Java Applet
  • ASP.NET Client-Side Scripting

Lecture 4

Client/Server and
Internet
24

Lecture 4

Client/Server and
Internet
25

Lecture 4

Client/Server and
Internet
26
Common Gateway Interface (CGI)
  • CGI is the method that Web servers use to
    communicate with programs that Web developers
    write to respond to user input from the Web.
  • CGI is language independent.
  • CGI programs reside on the same machine as the
    Web server.

Lecture 4

Client/Server and
Internet
27
Calling a CGI Script using a Form
28

Interacting with forms
Lecture 4

Client/Server and
Internet
29

CGI AND STATE
  • Hidden Fields are basically invisible they
    contain values that are not displayed within a
    form
  • Cookies is a small piece of data that is stored
    in the client on behalf of a server.

Lecture 4

Client/Server and
Internet
30

Lecture 4

Client/Server and
Internet
31

Cookies
  • Cookies is a small piece of data that is stored
    in the client on behalf of a server.
  • A server can put any text value in the cookie
    response header field
  • The client can store the cookie value on
    secondary storage for later use
  • When requesting another page from the same
    server, the cookie value is included in the HTTP
    request's cookie header field
  • The server can maintain an administration of
    cookie values to simulate state across HTTP
    transaction boundaries

Lecture 4

Client/Server and
Internet
32

Web Client/Server , Java-Style
  • Java Applet
  • Request the applet.
  • Receive the applet.
  • Load and execute the applet.
  • Discard the applet.

Lecture 4

Client/Server and
Internet
33

Web Client/Server , Java-Style
  • Java Servlets
  • All java plug-in for servers
  • CGI replacement but remains in memory after a
    client request
  • Servlets can retain connnections to a database
  • Servlets can make calls to other servlets
  • Good for processing user input

Lecture 4

Client/Server and
Internet
34

Resource Tutorial
  • Server-side scripting technology for creating
    dynamic and interactive web applications
  • ASP
  • http//msdn.microsoft.com/workshop/server/asp/a
    sptutorial.asp
  • JSP
  • http//developer.java.sun.com/developer/onlinetr
    aining/jspintro/
  • Server-side application technology
  • Servlet http//java.sun.com/docs/books/tutorial/s
    ervlets/TOC.html
  • Perl
  • http//archive.ncsa.uiuc.edu/General/Training/Pe
    rlIntro/

Lecture 4

Client/Server and
Internet
Write a Comment
User Comments (0)
About PowerShow.com