Active Server - E-Commerce - Lecture Slides, Slides of Fundamentals of E-Commerce

Students of Communication, study E-Commerce as an auxiliary subject. these are the key points discussed in these Lecture Slides of E-Commerce : Active Server Pages, Side Web, Programming, Intrinsic Objects, Request, Application, Session, Output Back, Provides Services, Objectcontext

Typology: Slides

2012/2013

Uploaded on 07/29/2013

alok-sarath
alok-sarath 🇮🇳

4.3

(35)

143 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Server-Side Web Programming
with Active Server Pages
Introduction
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Active Server - E-Commerce - Lecture Slides and more Slides Fundamentals of E-Commerce in PDF only on Docsity!

Server-Side Web Programming

with Active Server Pages

Introduction

Dynamic Web Content

•^

Web originally consisted of static content.

-^

Increasingly sophisticated uses of web rely ondynamically generated content.

-^

Dynamic content is not fixed - site content orfunctionality changes because of:^ – User input (forms)– Database content– Personalization– Where user came from– Other factors

-^

Sounds easy? Not!

Server-Side Dynamic Web

Content

•^

Programming server-side dynamic content for theweb is complex because:^ – The web is a client/server environment—

implementation “issues” are distributed…

  • The web is based on the HTTP protocol, which does

not maintain user state between actions. (more later)

•^

Deeply understanding and applying these conceptsis where the “big money” is…

Client/Server Architecture

•^

Client/Server computing involves “clients”requesting and receiving services (e.g., files,printing, web) from “servers”.

-^

The web is intrinsically client/server—a user’sbrowser requests/receives a web page from awebserver.

-^

Although a “client” is typically a user’s PC orworkstation, a server can also be a “client” ofanother server (e.g., webserver requesting datafrom a database server).

Client/Server: Servers

-^

Servers are normally permanent, fixed resources. If theyare on the Internet, they have the same fixed IP address.

-^

Servers run operating systems such as Windows NT orLinux that are multitasking and can run unattended forlong periods.

-^

Server hardware is different from PCs or Macs. Serverhardware is designed to support multiple users and to be onall the time.

-^

Many sites use redundant server hardware so that theservices they provide are available all of the time.

Client/Server Architecture

•^

Programs/applications can be architected forclient/server environment.

-^

Client/server applications are a logical extensionof modular programming--separation of a largepiece of software into parts ("modules") cansimplify development via reuse and centralizedmaintenance.

-^

Client/server applications can be classified by howthey are distributed--these are called layers.

Layers and Tiers

-^

Layers are an abstract, generalized model. Tiers are theactual physical implementation of a client/serverapplication.

-^

Storage layer is critical for professional applications.Transactions on the storage layer must support ACID:^ –

ATOMICITY: Transaction should be done or undone completely. In theevent of failure, data should rollback to previous state.

-^

CONSISTENCY: Transaction should transform a system from oneconsistent state to another consistent state.

-^

ISOLATION: each transaction should happen independently of othertransactions occurring at the same time.

-^

DURABILITY: Completed transactions should remain permanent, evenduring system failure.

Client/Server Application Tiers

•^

One Tier^ – All the layers are on one computer (e.g., a FoxPro or

MS Access application).

•^

Two tier^ – The user interface and business logic reside on the

workstation and the data on the network (e.g., a VBapplication against a SQL*Server database).

•^

N-Tier^ – Each layer resides on different machines. In some

cases, multiple servers can involved (e.g., ASP webpage on webserver queries database and GIS servers.).