technical aspects of e-commerce part 1 of 2

80
Technical Aspects of Technical Aspects of E-Commerce Part 1 of E-Commerce Part 1 of 2 2 Mort Anvari Mort Anvari

Upload: roanna-moon

Post on 03-Jan-2016

25 views

Category:

Documents


0 download

DESCRIPTION

Technical Aspects of E-Commerce Part 1 of 2. Mort Anvari. Introduction. - Overview of Sample Network - Definitions - Transaction Walk Through - The E-Commerce Application - Web Servers - Operating Systems - Hardware. Sample Network. PC. Web Server. SQL Server. PC. Internet. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Technical Aspects of E-Commerce  Part 1 of 2

Technical Aspects ofTechnical Aspects ofE-Commerce Part 1 of 2E-Commerce Part 1 of 2

Mort AnvariMort Anvari

Page 2: Technical Aspects of E-Commerce  Part 1 of 2

2

IntroductionIntroduction

- Overview of Sample Network

- Definitions

- Transaction Walk Through

- The E-Commerce Application

- Web Servers

- Operating Systems

- Hardware

Page 3: Technical Aspects of E-Commerce  Part 1 of 2

3

Sample NetworkSample Network

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 4: Technical Aspects of E-Commerce  Part 1 of 2

4

ArchitectureArchitecture

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

Software

HardwareVideoCard

HD Controller

Hard Drive

Motherboard

Page 5: Technical Aspects of E-Commerce  Part 1 of 2

5

DefinitionsDefinitions

Scalability - The ability of a product to work well as it or it’s environment is changed in size or power.

Reliability - The ability of product to continue working in adverse situations or with bad data.

TCO - Total Cost of Ownership. How much a product costs over it’s life span.

Page 6: Technical Aspects of E-Commerce  Part 1 of 2

6

DefinitionsDefinitions

Manageability - The ease with which a product can be maintained. Also, the degree of control allowed by the vendor.

User Friendliness - The ease with which and untrained person can use a product.

Security - The ability of a product to protect itself from malicious attack.

Page 7: Technical Aspects of E-Commerce  Part 1 of 2

7

Example TransactionExample Transaction

In our example, the user wants to get their bank statement for the month as well as their bank balances. This is representative of small to medium size e-commerce sites. Larger sites use much of the same components, but more powerful or in larger quantities.

Page 8: Technical Aspects of E-Commerce  Part 1 of 2

8

Example TransactionExample Transaction

1. Client makes request to Web Server

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 9: Technical Aspects of E-Commerce  Part 1 of 2

9

Example TransactionExample Transaction

2. Web server fetches HTML page containing a form from the hard drive

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

VideoCard

Motherboard

Page 10: Technical Aspects of E-Commerce  Part 1 of 2

10

Example TransactionExample Transaction

3. Server sends page to client

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 11: Technical Aspects of E-Commerce  Part 1 of 2

11

Example TransactionExample Transaction

4. User fills in form and clicks on submit button.

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 12: Technical Aspects of E-Commerce  Part 1 of 2

12

Example TransactionExample Transaction

5. Browser sends contents of form to web server requesting that it be passed to a specific cgi script. The name of the script to be executed is embedded in the form.

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 13: Technical Aspects of E-Commerce  Part 1 of 2

13

Example TransactionExample Transaction

6. Web server executes CGI script and passes it form data.

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

NetworkCard

VideoCard

Motherboard

HD Controller

Hard Drive

Physical World

Page 14: Technical Aspects of E-Commerce  Part 1 of 2

14

Example TransactionExample Transaction

7. CGI script validates the “form” data.

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

NetworkCard

VideoCard

Motherboard

HD Controller

Hard Drive

Physical World

Page 15: Technical Aspects of E-Commerce  Part 1 of 2

15

Example TransactionExample Transaction

8. The script contacts the SQL server and requests the account history and balances using the account number given to the script by the user.

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 16: Technical Aspects of E-Commerce  Part 1 of 2

16

Example TransactionExample Transaction

9. The SQL server locates the data and sends it back to the CGI Script.

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 17: Technical Aspects of E-Commerce  Part 1 of 2

17

Example TransactionExample Transaction

10. Using the account history and balances acquired from the SQL server, the script creates a web page. A common method is to have a template file that contains the basic HTML formatting and fill in the body with dynamic data.

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

NetworkCard

VideoCard

Motherboard

HD Controller

Hard Drive

Physical World

Page 18: Technical Aspects of E-Commerce  Part 1 of 2

18

Example TransactionExample Transaction

11. The CGI script passes the newly formed page to the web server.

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

NetworkCard

VideoCard

Motherboard

HD Controller

Hard Drive

Physical World

Page 19: Technical Aspects of E-Commerce  Part 1 of 2

19

Example TransactionExample Transaction

12. Web server sends the final page to the client PC’s browser which displays it for the user.

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer

Page 20: Technical Aspects of E-Commerce  Part 1 of 2

20

The E-Commerce AppThe E-Commerce App

What is it?- Set of software components and web data

- Made to conduct business transactions

- Designed to interact with both web users and internal company systems

- It is the web site

- All other components act as support for this piece

Page 21: Technical Aspects of E-Commerce  Part 1 of 2

21

The E-Commerce AppThe E-Commerce App

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

Software

HardwareVideoCard

HD Controller

Hard Drive

Motherboard

Page 22: Technical Aspects of E-Commerce  Part 1 of 2

22

The E-Commerce AppThe E-Commerce App

- Web Page Languages

- CGI Scripts & Their Languages

- What do the scripts do?

- Prepackaged or Custom?

Page 23: Technical Aspects of E-Commerce  Part 1 of 2

23

Web Page LanguagesWeb Page Languages

- HTML

- JavaScript

- Java

- ActiveX

Page 24: Technical Aspects of E-Commerce  Part 1 of 2

24

HTMLHTML

Hyper Text Markup Language

- The Lingua Franca of the Web

- Accessible from all browsers

- No Intelligence

- Cannot be changed on the fly

- All of your pages should look good

using HTML only. The rest is gravy.

Page 25: Technical Aspects of E-Commerce  Part 1 of 2

25

Java ScriptJava Script

- Language designed to add minor

functionality to HTML pages

- Simple Intelligence

- Sample Apps: counters, audio

effects, calculators, scrolling text,

menus, graphic effects etc...

Page 26: Technical Aspects of E-Commerce  Part 1 of 2

26

JavaJava

- Sophisticated language and operating

environment from Sun Microsystems

- Very intelligent

- Platform Independent

- Sample Apps: word processors,

control systems, network services

Page 27: Technical Aspects of E-Commerce  Part 1 of 2

27

ActiveXActiveX

- A mechanism for transmitting full

programs over the internet and

running them

- Arguably most powerful technology

- Major security headache

- Platform Dependant

- Faster than Java

Page 28: Technical Aspects of E-Commerce  Part 1 of 2

28

Best UseBest Use

HTML

- The basis of all web pages

- Pages should be accessible to

HTML only browsers

JavaScript

- Add on to HTML for pizzazz

Page 29: Technical Aspects of E-Commerce  Part 1 of 2

29

Best UseBest Use

Java

- Add real sophistication to web pages

ActiveX

- Add real sophistication to web pages

- Best in Intranets

- Sites may block your ActiveX

Page 30: Technical Aspects of E-Commerce  Part 1 of 2

30

CGI ScriptsCGI Scripts

- CGI = Common Gateway Interface

- CGI connects web users to programs

- Script is just a normal program

- Makes web pages

- May take other, advanced actions

- Think Security: The whole world can

run programs on your server

Page 31: Technical Aspects of E-Commerce  Part 1 of 2

31

ASPs and PHP3ASPs and PHP3

- ASP = Active Server Page

- PHP3 = PHP: Hypertext Preprocessor

- A very efficient replacement for CGI

- Puts tiny programs in web pages

- The programs are run before the page

is sent to the browser

- Browsers can only see the results of the

program

Page 32: Technical Aspects of E-Commerce  Part 1 of 2

32

CGI Script/ASP LanguagesCGI Script/ASP Languages

- Visual Basic/VB Script

- Shell Scripts

- Java

- Perl

- C/C++

Page 33: Technical Aspects of E-Commerce  Part 1 of 2

33

Visual Basic/VB ScriptVisual Basic/VB Script

- Reasonably sophisticated languages

produced by Microsoft

- Easy to find programmers

- Not Platform Independent

- Not very efficient

- VB Script is a cut-down version of

Visual Basic

Page 34: Technical Aspects of E-Commerce  Part 1 of 2

34

Shell ScriptsShell Scripts

- A way of automating complex tasks in

Unix. Like a DOS batch file but far

more sophisticated

- Powerful and easy to write

- Platform Independent amongst Unixes

Page 35: Technical Aspects of E-Commerce  Part 1 of 2

35

JavaJava

- Java is also used as a server side

language. It is one of the few that can

be used on both the client and server

sides.

Page 36: Technical Aspects of E-Commerce  Part 1 of 2

36

PerlPerl

- An extremely versatile language

designed by Larry Wall

- Scripts can be written quickly and

efficiently

- A very practical language

- Platform Independent

Page 37: Technical Aspects of E-Commerce  Part 1 of 2

37

C/C++C/C++

- The Lingua Franca of professional

application development

- Easy to find programmers

- Takes longer to write in but yields a

better product

- Platform Independent

Page 38: Technical Aspects of E-Commerce  Part 1 of 2

38

Types of ScriptsTypes of Scripts

- Submit form contents into database

- Send form contents via e-mail

- Retrieve information from database

and create web page based on it

- Verify credit card transaction

- Send form contents as fax

- Send a message to a pager

Page 39: Technical Aspects of E-Commerce  Part 1 of 2

39

Pre-Packaged vs. CustomPre-Packaged vs. Custom

Pre-Packaged

- Minimal Effort

- Many can be found for free

- Difficult or impossible to customize

- Licensing agreements may limit your

commercial use

Page 40: Technical Aspects of E-Commerce  Part 1 of 2

40

Pre-Packaged vs. CustomPre-Packaged vs. Custom

Custom

- Expensive

- Long implementation time

- Built to suit

Hybrid

- Best overall solution

Page 41: Technical Aspects of E-Commerce  Part 1 of 2

41

Web ServerWeb Server

What is it?- A software program

- Prepares HTML pages by reading them from disk or executing a CGI Script

- Sends HTML pages to web client

- Runs the CGI scripts

- Passes user data to the CGI scripts

Page 42: Technical Aspects of E-Commerce  Part 1 of 2

42

Web ServersWeb Servers

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

Software

HardwareVideoCard

HD Controller

Hard Drive

Motherboard

Page 43: Technical Aspects of E-Commerce  Part 1 of 2

43

Web ServersWeb Servers

- Microsoft IIS

- Netscape Enterprise

- Apache

Page 44: Technical Aspects of E-Commerce  Part 1 of 2

44

Microsoft IISMicrosoft IIS

- IIS = Internet Information Server

- Inexpensive

- Solid feature set

- Fast

- Best pre-packaged site support

- Security Problems

- Platform Dependant

Page 45: Technical Aspects of E-Commerce  Part 1 of 2

45

Netscape Enterprise ServerNetscape Enterprise Server

- Best overall web server

- Best feature set

- Decentralized content creation

- Good security

- Multi-platform

- Relatively costly

Page 46: Technical Aspects of E-Commerce  Part 1 of 2

46

ApacheApache

- Market dominance (55%)

- Very fast, scalable & flexible

- Great support

- Best security

- Not user friendly

- Features may need to be added

Page 47: Technical Aspects of E-Commerce  Part 1 of 2

47

Reliability ChartReliability Chart

1. Apache 100

2. Netscape 95

3. IIS 90

Page 48: Technical Aspects of E-Commerce  Part 1 of 2

48

Scalability ChartScalability Chart

1. Apache 100

2. Netscape 90

3. IIS 45

Page 49: Technical Aspects of E-Commerce  Part 1 of 2

49

Manageability ChartManageability Chart

1. Netscape 100

2. IIS 90

3. Apache 80

Page 50: Technical Aspects of E-Commerce  Part 1 of 2

50

Security ChartSecurity Chart

1. Apache 100

2. Netscape 95

3. IIS 60

Page 51: Technical Aspects of E-Commerce  Part 1 of 2

51

User Friendliness ChartUser Friendliness Chart

1. IIS 80

2. Netscape 70

3. Apache 35

Page 52: Technical Aspects of E-Commerce  Part 1 of 2

52

Price ChartPrice Chart

1. Apache 100

2. IIS 98

3. Netscape 40

Page 53: Technical Aspects of E-Commerce  Part 1 of 2

53

Best Uses for ServersBest Uses for Servers

Microsoft IIS

- Medium traffic sites

- Good for cost conscious sites

- Not good for E-Commerce

Netscape Enterprise

- Medium or high traffic sites

- Best intranet server

- E-Commerce capable

Page 54: Technical Aspects of E-Commerce  Part 1 of 2

54

Best Uses for ServersBest Uses for Servers

Apache

- Low, medium or high traffic sites

- E-Commerce capable

- Best overall server

- Not for technical newcomers

Page 55: Technical Aspects of E-Commerce  Part 1 of 2

55

Operating SystemOperating System

What is it?- A software program

- Manages all other programs

- Manages hardware resources

- Handles input and output from to and from devices like printers, disks, and the network

- Communicates status info to users

Page 56: Technical Aspects of E-Commerce  Part 1 of 2

56

Operating SystemsOperating Systems

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

Software

HardwareVideoCard

HD Controller

Hard Drive

Motherboard

Page 57: Technical Aspects of E-Commerce  Part 1 of 2

57

Operating SystemsOperating Systems

- Windows 95/98

- Windows NT

- Unix

- Linux

Page 58: Technical Aspects of E-Commerce  Part 1 of 2

58

Windows 95/98Windows 95/98

- Microsoft’s consumer level OS

- Not a proper OS

- No scalability

- Inefficient

- Dies like a lemming

- It’s rubbish

- Never use it for anything serious

Page 59: Technical Aspects of E-Commerce  Part 1 of 2

59

Windows NT/2000Windows NT/2000

- Microsoft’s Professional OS

- Better than 95/98 in every respect

- Inexpensive

- Excellent application support

- Security Issues

- Immature

- Highly proprietary

Page 60: Technical Aspects of E-Commerce  Part 1 of 2

60

UnixUnix

- Collection of similar OSes

- HP/UX, Solaris, AIX

- Best is all categories except

User Friendliness

- Mature, Internet = Unix

- Multi-user design

- Expensive and technical

Page 61: Technical Aspects of E-Commerce  Part 1 of 2

61

LinuxLinux

- Free version of Unix

- Huge momentum in marketplace

- Great support

- Friendlier than other Unixes

- E-Commerce in a box

- Not quite as good as other Unixes

Page 62: Technical Aspects of E-Commerce  Part 1 of 2

62

Reliability ChartReliability Chart

1. Unix 100

2. Linux 90

3. Windows NT 40

4. Windows 95 15

5. Windows 3.11 5

Page 63: Technical Aspects of E-Commerce  Part 1 of 2

63

Scalability ChartScalability Chart

1. Unix 100

2. Linux 50

3. Windows NT 20

4. Windows 95 5

Page 64: Technical Aspects of E-Commerce  Part 1 of 2

64

Manageability ChartManageability Chart

1. Unix 100

2. Linux 90

3. Windows NT 60

4. Windows 95 40

Page 65: Technical Aspects of E-Commerce  Part 1 of 2

65

Security ChartSecurity Chart

1. B1 Unix 100

2. C2 Unix/Linux 65

3. Windows NT 40

4. Windows 95 5

Page 66: Technical Aspects of E-Commerce  Part 1 of 2

66

User Friendliness ChartUser Friendliness Chart

1. Macintosh 100

2. Windows 95 60

3. Windows NT 55

4. Linux 45

5. Unix 20

Page 67: Technical Aspects of E-Commerce  Part 1 of 2

67

Price ChartPrice Chart

1. Linux 95

2. Windows 95 65

3. Windows NT 35

4. Unix 10

Page 68: Technical Aspects of E-Commerce  Part 1 of 2

68

Best Uses of Each OSBest Uses of Each OS

Windows 95- Games

- Word Processing

- Not a serious OS

Windows NT- Low to medium traffic

- Be very careful with E-Commerce

- Best for low-tech firms

Page 69: Technical Aspects of E-Commerce  Part 1 of 2

69

Best Uses of Each OSBest Uses of Each OS

Unix- Low, medium and high traffic

- E-Commerce capable

- Best for mega-sites

Linux

- Low, medium and high traffic

- E-Commerce capable

- Good for all uses

Page 70: Technical Aspects of E-Commerce  Part 1 of 2

70

HardwareHardware

What is it?- The physical components of a computing

system

- If it can be held in your hand it’s hardware

- If it can’t it’s software

Page 71: Technical Aspects of E-Commerce  Part 1 of 2

71

HardwareHardware

Web Server

CGI Script

Operating

System

I/O Layer

HTMLPagesData

UserSpace

SystemSpace

Physical World

NetworkCard

Software

HardwareVideoCard

HD Controller

Hard Drive

Motherboard

Page 72: Technical Aspects of E-Commerce  Part 1 of 2

72

HardwareHardware

- Architecture

- Hard Drives

- Backup Systems

- Network Interfaces

- RAM

Page 73: Technical Aspects of E-Commerce  Part 1 of 2

73

ArchitectureArchitecture

- CISC (Complex Instruction Set Comp.)Can do complex operations

Can do many functions

i.e. 486, Pentium, PowerPC

- RISC (Reduced Instruction Set Comp.)Can do a few simple operations

Faster than CISC

i.e. SPARC, HP9000

Page 74: Technical Aspects of E-Commerce  Part 1 of 2

74

Hard DrivesHard Drives

- SingleA regular hard drive

- MirroredFault-Tolerant

Expensive

- Drive ArrayFault-Tolerant

Slower but cheaper than Mirror

Page 75: Technical Aspects of E-Commerce  Part 1 of 2

75

Hard DrivesHard Drives

- Highly Redundant Drive EnclosureExternal to server

Can lose multiple drives

Very fast

Very expensive

Page 76: Technical Aspects of E-Commerce  Part 1 of 2

76

Backup SystemsBackup Systems

- DAT (Digital Audio Tape)Fast, efficient and reliable

Tape sizes from 2-24GB

Backwards compatible

- DLT (Digital Linear Tape)Very fast, reliability problems

Tapes can hold up to 70GB

New technology

Page 77: Technical Aspects of E-Commerce  Part 1 of 2

77

Backup SystemsBackup Systems

- Tape LibraryUses multiple DLTs or DATs

Uses many tapes

Robotic arm changes tapes

Page 78: Technical Aspects of E-Commerce  Part 1 of 2

78

Network InterfacesNetwork Interfaces

- LAN (Local Area Network)Small in geographic size

Fast and cheap

Owned

- WAN (Wide Area Network)Connects distant LANs

Slow and expensive

Rented

Page 79: Technical Aspects of E-Commerce  Part 1 of 2

79

Random Access MemoryRandom Access Memory

- RegularGarden variety memory

- ParityChecks for memory errors

Stops machine on error

- ECC (Error Checking and Correcting)Checks for memory errors

Corrects errors

Page 80: Technical Aspects of E-Commerce  Part 1 of 2

80

Next TimeNext Time

PC Internet

WebServer

FWR PC

PC

PC

PC

PC

MailServer

SQLServer

FileServer