






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of client-server tiers, focusing on common gateway interface (cgi), internet server application programming interface (isapi), and active server pages (asp). Learn about their differences, how they work, and their drawbacks.
Typology: Slides
1 / 11
This page cannot be seen from the preview
Don't miss anything!







1 tier
2 tier
N-Tier
UserInterface
All on onemachine
Client
Client
BusinessLogic
WebServer
MTS
Storage
File Server
SQL Server
Currently most Internet-based dynamic webcontent is implemented with server-sidecomputing.
-^
Most common implementation of server-sidecomputing is via scripting interfaces/plug-insrather than writing directly to the CGI model.
-^
PERL, ASP, and Java are some of the morepopular web server-side scripting interfaces
“Common Gateway Interface”
-^
A protocol that allows an application to:^ – Receives from the webserver the contents of a user
request (including URL, request variables, and userparameters)
Typical request:^ http://myserver/cgi-bin/myScript?Arg1=X&Arg2=Y
-^
CGI argument format is the basis for ASP.
Most CGI implementations require the CGI logicto be loaded, a process spawned, and aftercompletion, the process killed for each request,reducing scalability.
-^
CGI most commonly implemented using pre-builtapplications that implement server-side scripting(PERL is one of the most popular scriptinglanguages).
“Internet Server Application ProgrammingInterface”
-^
Microsoft technology to expand and improve CGI.
-^
Similar to CGI in that is normally accessed via ascripting interface/plug-in.
-^
ISAPI logic loaded once on first demand andshares the webserver's process.
-^
Similar technologies created by other vendors.
Writing applications that directly use CGI orISAPI have large overhead, especially for theimplementing the interface code.
-^
Pre-built scripting applications like PERL requiresuser to script all HTML elements -- harder to readand maintain.
ASP = Active Server Pages (acronym in tradeliterature sometimes refers to Application ServerProvider)
-^
A web technology for combining scripting code (thatruns on the server as the page is loaded by the webserver) with HTML and other web page content.
-^
Files with the .asp or .asa extension are passed to anISAPI-based IIS plug-in (asp.dll)
-^
Asp.dll interprets the file, executes any ASP script itcontains, and outputs it as HTML.
marks