Top Banner
eCommerce Technologies A Primer on Web Servers MIS 4453 -- Spring 2003 Instructors: Kelly Fish, Ph.D. John Seydel, Ph.D.
27
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Web Server Primer

eCommerce Technologies

A Primer on Web Servers

MIS 4453 -- Spring 2003

Instructors:Kelly Fish, Ph.D.John Seydel, Ph.D.

Page 2: Web Server Primer

Student Objectives

Describe interaction between browser and serverCompare and contrast web server software commonly availableSelect appropriate web server based upon organizational needsIf time permits: create shape-tweened Flash graphic

Page 3: Web Server Primer

First, Some Administrative Stuff

Customization (remember the 7 Cs?)Summary of exercises so far: Exercise 1 – Create personal profile pages (p.

22) Exercise 2 – FP exercise (modified from p. 36) Exercise 3 – site reorganization Exercise 4 – basic Flash (animated logo, page) Exercise 5 – more Flash (rollover button, etc.)

Current homework (Exercise 5) detailed at course website

And now, Quiz #2

Page 4: Web Server Primer

Web ServersBasics

AKA “HTTP servers” Service requests from clients (browsers) Forward (if necessary) to

Database servers Application servers

Provide administration and security features for web management

Process differs for static and dynamic web pages Static pages: never changing; brochureware Dynamic: content (and even display) based upon

interaction with user Draw information from databases Update databases

eBusiness: integrates servers, applications, and databases among users and suppliers

Page 5: Web Server Primer

eBusiness Data Access

Page 6: Web Server Primer

Server Selection, Step-by-Step

Determine “user” requirements Customers Company

Identify applications software needed Specific applications (ASP.NET, PHP, . . . ) Web server software

Determine OS requirementsDevelop hardware specifications

Page 7: Web Server Primer

Server Hardware

Just about any computer can be a server Powerful multi-user hardware Lightweight personal machine

Vary based upon OS (not really hardware, but treat as such) Number/power of processors RAM Hard drive space

Organizational needs will dictate the appropriate configurations

Page 8: Web Server Primer

Server Software

Top four: Apache (open source) – 11.1 million sites IIS (Windows) – 4.1 million sites Zeus – 0.3 million sites SunONE (replaces/extends iPlanet) – 0.2 million

sites

Features to expect User management, authentication, etc. Cookies support Editing features Server-side script processing (e.g., CGI, ASP, PHP)

See www.netcraft.com/survey

Page 9: Web Server Primer

Apache Server

OS supported Windows, OS/2, Unix, Linux Most common: Linux

Open source – what’s that mean?Robust design and extensibilityNot a dummies tool No GUI No browser-based maintenance Essentially all command line driven

Page 10: Web Server Primer

Internet Information Server

Actually Internet Information Services (IIS 5)On the plus side Intuitive: GUI Essentially as powerful/capable as Apache Incorporates WebDAV (web-based distributed

authoring & versioning)Emerging standard for simplifying intranet constructionand enabling multiple users to publish to common webserver

Additional benefit: Supports ASPDownside: works only on Windows (what else would you expect from Microsoft!)Growing in popularity (?)

Page 11: Web Server Primer

Other Web-Related Servers

Create multi-tiered architectureInclude Application servers (sometimes middleware) A/V servers (especially valuable for

streaming) Database servers Exchange servers (support collaboration;

email) Proxy servers (involve cache management) Security servers (e.g., firewalls)

Offload processing and storage From server From client

Can be in same or multiple boxes

Page 12: Web Server Primer

Multi-Tiered Internet Database Access Architecture

Page 13: Web Server Primer

Choosing Your Server (Revisited)

First, what applications will be needed? ASP Cold Fusion CGI Extensions: FrontPage, DreamWeaver, . . .

Then, what server software is required to run those applicationsNext, what OS will support that server software?Finally, choose the hardware that can support

Software configuration Traffic expected Connection with database and applications Network

Page 14: Web Server Primer

Server Selection Considerations

Keep in mind that eCommerce requires more power, memory, speed than static web applicationsNeeds assessment Site traffic

Concurrent users Bandwidth could be limitation Plan for three years growth

Scalability (size) Extensibility (functionality)

Hardware/software selection: popularity, capacity, reliability, performance, compatibility, upgradeability, price, support

See server ratings (sites on page 88)

Page 15: Web Server Primer

Summary of Objectives

Describe interaction between browser and serverCompare and contrast web server software commonly availableSelect appropriate web server based upon organizational needsIf time permits: create shape-tweened Flash graphic

Page 16: Web Server Primer

How About Questions Concerning Homework Exercises?

Flash Basic animation (logo) Adding objects to web pages Rollover buttons (see handout at

website) Shape-tweening

FrontPageXHTML/HTML in generalOther . . . ?

Page 17: Web Server Primer

For Next Time

Install and experiment with IIS on personal machine (see pages 89-94)Read Chapter 6Complete Exercise 5 per specifications at website

Flash exercises Animated conference logo Rollover button Installed on web pages

Chapter 3 Hands-On Exercise Scan/convert conference images Use PhotoEd and Flash (not PS Pro)

Another Flash exercise: try to create shape tweened graphic

Page 18: Web Server Primer

Appendix

Page 19: Web Server Primer

What Happens When You View a Web Page?

The same process applies whether you Click on a link or Type a URL into the address bar

HTTP request is then sent to server at designated URL Includes header info Requests file

Server then returns HTTP response Includes header info Contains file

Repeated as client (i.e., user agent) interprets file

Page 20: Web Server Primer

Browser/Server Interaction

Page 21: Web Server Primer

HTTP Request Example

Request:GET/index.html?name=julie+smith&ID=12234

/HTTP:/www.astate.edu

/HTTP1.1

Header:Useragent: IE 5.0

Accept: */*

Date: 10/24/02

Body:(empty)

querystring

Page 22: Web Server Primer

HTTP Response Example

Response:HTTP1.1/200

Header:Server: IIS 50

Date: 10/24/02

Body:<html>

. . .

</html>

Page 23: Web Server Primer

Servers at Active Websites

Source: www.netcraft.com/survey

Page 24: Web Server Primer

Zeus Web Server versus Apache

Page 25: Web Server Primer

Effective Site Customization?

Page 26: Web Server Primer

Basic Shape Tweening Exercise

Open new file and Turn on grid/snap Zoom to 75%

Create circle near center (red stroke & gradient fill)On timeline, select frame 10

Click on Insert | Blank Keyframe Press Onion Skin icon

Use line tool to draw triangle slightly larger than circle (black stroke)Use bucket tool to fill triangle with gray gradient fillSelect frames 2-9 (press Control key and then drag)Click on Windows | Properties and then set Tween box to ShapeTurn off onion skinningRun the animation

With control bar (Window | Toolbars | Controller) Or drag playhead on timeline

Page 27: Web Server Primer

Some Enhancements

Turn on looping (Control | Loop Playback)Reverse the action Copy frame 1 to frame 20 Select frames 11-19 (press Control key

and then drag) Click on Windows | Properties and then

set Tween box to Shape

Now, run the animation