SlideShare a Scribd company logo
INTERNET
PROGRAMMING
ACTIVE SERVER PAGE
(ASP)
INTRODUCTION
SCRIPT
PROCESSING

Client Side
Meaning: Processing
that are conducted at
the user’s
computer(browser)

Server Side
Hardware

Software
Script used: JavaScript

Web server  Internet
Information
Services(IIS)

Script used: ASP  VBscript
CLIENT SIDE
PROCESSING

Advantages

Disadvantages

Faster to display
output since workload
is distributed to user’s
PC

Cannot retain global
data

Customizeable output
– personalized
experienced

Cannot store data
from user into
database
SERVER SIDE
PROCESSING

Advantages

Data from user can be stored
into database. Eg: order,
reservation, feedback.

Web server controls user’s
browsing selection. Eg: If
certain pages are off-limit to
ordinary users, server-side
scripting can be employed to
block the pages from being
viewed by the user.

Disadvantages

The processing is centered at
the server  will put burden
of processing on the server
instead of the client.
IMPLEMENTING SERVER-SIDE
SCRIPTING (ISS)
• Web browser
request an ASP file
from the server

IIS

ASP
MODULE

IIS sends plain
HTML file to be
displayed in the
web browser
WWW
services

FTP
services

Gopher
Services

• Provide simple
document(textbase)over the
internet
a web page that is
processed by a web
server

a program that
runs inside a web
server (IIS/PWS)

What
is ASP

a Microsoft
Technology
Scripts in an ASP
file are executed
on the server

ISI
is Internet
Information
Services comes
as a free
component with
Windows 2000 &
Windows NT 4.0
option pack

PWS
is Personal
Web Page, a
smaller scale
version but
fully function
like IIS
JavaScript vs. VBScript
JavaScript is
larger and
more complex
language than
VBScript

JavaScript is, in
some ways, more
powerful than
VBScript

JS is an open
protocol. VBScript
is not

JavaScript
vs.
VBScript

JavaScript is more aware of
HTML than VBScript and has
numerous formatting and
parsing methods for creating
and analyzing HTML tags

JS is case
sensitive.
VBScript is
not
Basic ASP Scripting Style
It begins with
(for JavaScript)
<%@language=
JavaScript%>

we must put tag

<%…………%>
and start writing
code between
the tags

Server side scripting is
a script that is
executed by the web
server, then the results
of which are passed on
to the calling client
STYLE OF WRITING SCRIPTS

indicate inline server
side script in your page
by placng the
programming
statements between the
following tags <% %>

WRITING
INLINE
SCRIPTS
server side scripting
engine in the order that
it appears in the ASP
page executes the script
INTERPERSING
INLINE
SCRIPTS

intersperse inline
script within an ASP

The script is
executed in the
order in which it is
encountered
Working
with ASP
Object
Response object

Server object

Use to access
information
passed by HTTP
requestc

Use to access methods
and properties on the
server

Request object
Used to control the
information sent to
the client
Analogy
The best way to understand these two objects is to think of a
telephone call.
When u place a call, u are requesting that someone on the
other end of the line pick up the phone.
When that person answers the phone, he/she issues a response
to your request (the ringing phone).

Depending on what the person says, you process the results of
your request by taking specific actions depending on whom you
are talking to and for what purpose.
Request Object Collection
Client Certificate

• User certificate is required for
access to the page

Cookies

• Cookies are sent to the server for
examination

Form

• Takes all values passed by html form

QueryString

• Makes available to the web server all
values contained

Server Variables

• Makes available all the HTTP header values
as sent by the user with the request.

More Related Content

What's hot

jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
Arulmurugan Rajaraman
 
HTML and Responsive Design
HTML and Responsive Design HTML and Responsive Design
HTML and Responsive Design
Mindy McAdams
 
Node.js Event Emitter
Node.js Event EmitterNode.js Event Emitter
Node.js Event Emitter
Eyal Vardi
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
Russ Weakley
 
Web Development
Web DevelopmentWeb Development
Web Development
Harshdeep Singh
 
ppt of web development for diploma student
ppt of web development for diploma student ppt of web development for diploma student
ppt of web development for diploma student
Abhishekchauhan863165
 
FYBSC IT Web Programming Unit IV PHP and MySQL
FYBSC IT Web Programming Unit IV  PHP and MySQLFYBSC IT Web Programming Unit IV  PHP and MySQL
FYBSC IT Web Programming Unit IV PHP and MySQL
Arti Parab Academics
 
Active server pages
Active server pagesActive server pages
Active server pages
mcatahir947
 
What Is Express JS?
What Is Express JS?What Is Express JS?
What Is Express JS?
Simplilearn
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
Taha Malampatti
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
JIGAR MAKHIJA
 
How to become a great developer
How to become a great developerHow to become a great developer
How to become a great developer
Netcetera
 
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Edureka!
 
JavaScript Basic
JavaScript BasicJavaScript Basic
JavaScript Basic
Finsa Nurpandi
 
Php tutorial(w3schools)
Php tutorial(w3schools)Php tutorial(w3schools)
Php tutorial(w3schools)Arjun Shanka
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Tailwind CSS.11.pptx
Tailwind CSS.11.pptxTailwind CSS.11.pptx
Tailwind CSS.11.pptx
Harish Verma
 
Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1
Gheyath M. Othman
 

What's hot (20)

jQuery for beginners
jQuery for beginnersjQuery for beginners
jQuery for beginners
 
HTML and Responsive Design
HTML and Responsive Design HTML and Responsive Design
HTML and Responsive Design
 
Node.js Event Emitter
Node.js Event EmitterNode.js Event Emitter
Node.js Event Emitter
 
Asp.net controls
Asp.net controlsAsp.net controls
Asp.net controls
 
Responsive web design
Responsive web designResponsive web design
Responsive web design
 
Web Development
Web DevelopmentWeb Development
Web Development
 
ppt of web development for diploma student
ppt of web development for diploma student ppt of web development for diploma student
ppt of web development for diploma student
 
FYBSC IT Web Programming Unit IV PHP and MySQL
FYBSC IT Web Programming Unit IV  PHP and MySQLFYBSC IT Web Programming Unit IV  PHP and MySQL
FYBSC IT Web Programming Unit IV PHP and MySQL
 
Active server pages
Active server pagesActive server pages
Active server pages
 
What Is Express JS?
What Is Express JS?What Is Express JS?
What Is Express JS?
 
Introduction to php
Introduction to phpIntroduction to php
Introduction to php
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
How to become a great developer
How to become a great developerHow to become a great developer
How to become a great developer
 
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
Node.js Tutorial for Beginners | Node.js Web Application Tutorial | Node.js T...
 
JavaScript Basic
JavaScript BasicJavaScript Basic
JavaScript Basic
 
Php tutorial(w3schools)
Php tutorial(w3schools)Php tutorial(w3schools)
Php tutorial(w3schools)
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
Tailwind CSS.11.pptx
Tailwind CSS.11.pptxTailwind CSS.11.pptx
Tailwind CSS.11.pptx
 
Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1Web Development Course: PHP lecture 1
Web Development Course: PHP lecture 1
 

Viewers also liked

Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)Keshab Nath
 
ASP
ASPASP
Active server pages
Active server pagesActive server pages
Active server pagesstudent
 
Jsp chapter 1
Jsp chapter 1Jsp chapter 1
Jsp chapter 1
kamal kotecha
 
Implicit objects advance Java
Implicit objects advance JavaImplicit objects advance Java
Implicit objects advance Java
Darshit Metaliya
 
ASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOMASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOM
Aashish Jain
 
Jsp element
Jsp elementJsp element
Jsp element
kamal kotecha
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 

Viewers also liked (11)

Active Server Page(ASP)
Active Server Page(ASP)Active Server Page(ASP)
Active Server Page(ASP)
 
ASP
ASPASP
ASP
 
Asp objects
Asp objectsAsp objects
Asp objects
 
Active server pages
Active server pagesActive server pages
Active server pages
 
Jsp chapter 1
Jsp chapter 1Jsp chapter 1
Jsp chapter 1
 
Active x
Active xActive x
Active x
 
Implicit objects advance Java
Implicit objects advance JavaImplicit objects advance Java
Implicit objects advance Java
 
Active x control
Active x controlActive x control
Active x control
 
ASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOMASP, ASP.NET, JSP, COM/DCOM
ASP, ASP.NET, JSP, COM/DCOM
 
Jsp element
Jsp elementJsp element
Jsp element
 
Client side scripting and server side scripting
Client side scripting and server side scriptingClient side scripting and server side scripting
Client side scripting and server side scripting
 

Similar to Introduction ASP

DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
Prof Ansari
 
CLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptxCLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptx
agniva pradhan
 
13 asp.net session19
13 asp.net session1913 asp.net session19
13 asp.net session19
Vivek chan
 
Server and Client side comparision
Server and Client side comparisionServer and Client side comparision
Server and Client side comparision
Stew Duncan
 
Week one presentation principles of web server scripting
Week one presentation   principles of web server scriptingWeek one presentation   principles of web server scripting
Week one presentation principles of web server scripting
John Robinson
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
Peter Gfader
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetAdil Mughal
 
My Presentation On Ajax
My Presentation On AjaxMy Presentation On Ajax
My Presentation On AjaxGhaffar Khan
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
Forrester High School
 
Client&server side scripting
Client&server side scriptingClient&server side scripting
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
teach4uin
 
Overview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company indiaOverview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company india
Jignesh Aakoliya
 
Asp introduction
Asp introductionAsp introduction
Asp introduction
Sireesh K
 
Web server
Web serverWeb server
Web server
Sajan Sahu
 
Client control
Client controlClient control
Client control
Sireesh K
 
Client and server side scripting
Client and server side scriptingClient and server side scripting
Client and server side scripting
baabtra.com - No. 1 supplier of quality freshers
 

Similar to Introduction ASP (20)

DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
DYNAMIC CONTENT TECHNOLOGIES ASP(ACTIVE SERVER PAGES)
 
CLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptxCLIENT SIDE PROCESSING.pptx
CLIENT SIDE PROCESSING.pptx
 
Rutgers - Active Server Pages
Rutgers - Active Server PagesRutgers - Active Server Pages
Rutgers - Active Server Pages
 
Walther Ajax4
Walther Ajax4Walther Ajax4
Walther Ajax4
 
13 asp.net session19
13 asp.net session1913 asp.net session19
13 asp.net session19
 
Server and Client side comparision
Server and Client side comparisionServer and Client side comparision
Server and Client side comparision
 
Intro To Asp
Intro To AspIntro To Asp
Intro To Asp
 
Week one presentation principles of web server scripting
Week one presentation   principles of web server scriptingWeek one presentation   principles of web server scripting
Week one presentation principles of web server scripting
 
Introduction to ASP.NET
Introduction to ASP.NETIntroduction to ASP.NET
Introduction to ASP.NET
 
DevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp NetDevNext - Web Programming Concepts Using Asp Net
DevNext - Web Programming Concepts Using Asp Net
 
My Presentation On Ajax
My Presentation On AjaxMy Presentation On Ajax
My Presentation On Ajax
 
Scripting Languages
Scripting LanguagesScripting Languages
Scripting Languages
 
Client&server side scripting
Client&server side scriptingClient&server side scripting
Client&server side scripting
 
New microsoft office power point presentation
New microsoft office power point presentationNew microsoft office power point presentation
New microsoft office power point presentation
 
Learn ASP
Learn ASPLearn ASP
Learn ASP
 
Overview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company indiaOverview of ASP.Net by software outsourcing company india
Overview of ASP.Net by software outsourcing company india
 
Asp introduction
Asp introductionAsp introduction
Asp introduction
 
Web server
Web serverWeb server
Web server
 
Client control
Client controlClient control
Client control
 
Client and server side scripting
Client and server side scriptingClient and server side scripting
Client and server side scripting
 

Recently uploaded

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
EduSkills OECD
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
Fundacja Rozwoju Społeczeństwa Przedsiębiorczego
 

Recently uploaded (20)

Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdfESC Beyond Borders _From EU to You_ InfoPack general.pdf
ESC Beyond Borders _From EU to You_ InfoPack general.pdf
 

Introduction ASP

  • 2. INTRODUCTION SCRIPT PROCESSING Client Side Meaning: Processing that are conducted at the user’s computer(browser) Server Side Hardware Software Script used: JavaScript Web server  Internet Information Services(IIS) Script used: ASP  VBscript
  • 3. CLIENT SIDE PROCESSING Advantages Disadvantages Faster to display output since workload is distributed to user’s PC Cannot retain global data Customizeable output – personalized experienced Cannot store data from user into database
  • 4. SERVER SIDE PROCESSING Advantages Data from user can be stored into database. Eg: order, reservation, feedback. Web server controls user’s browsing selection. Eg: If certain pages are off-limit to ordinary users, server-side scripting can be employed to block the pages from being viewed by the user. Disadvantages The processing is centered at the server  will put burden of processing on the server instead of the client.
  • 5. IMPLEMENTING SERVER-SIDE SCRIPTING (ISS) • Web browser request an ASP file from the server IIS ASP MODULE IIS sends plain HTML file to be displayed in the web browser
  • 7. a web page that is processed by a web server a program that runs inside a web server (IIS/PWS) What is ASP a Microsoft Technology Scripts in an ASP file are executed on the server ISI is Internet Information Services comes as a free component with Windows 2000 & Windows NT 4.0 option pack PWS is Personal Web Page, a smaller scale version but fully function like IIS
  • 8. JavaScript vs. VBScript JavaScript is larger and more complex language than VBScript JavaScript is, in some ways, more powerful than VBScript JS is an open protocol. VBScript is not JavaScript vs. VBScript JavaScript is more aware of HTML than VBScript and has numerous formatting and parsing methods for creating and analyzing HTML tags JS is case sensitive. VBScript is not
  • 9. Basic ASP Scripting Style It begins with (for JavaScript) <%@language= JavaScript%> we must put tag <%…………%> and start writing code between the tags Server side scripting is a script that is executed by the web server, then the results of which are passed on to the calling client
  • 10. STYLE OF WRITING SCRIPTS indicate inline server side script in your page by placng the programming statements between the following tags <% %> WRITING INLINE SCRIPTS server side scripting engine in the order that it appears in the ASP page executes the script
  • 11. INTERPERSING INLINE SCRIPTS intersperse inline script within an ASP The script is executed in the order in which it is encountered
  • 12. Working with ASP Object Response object Server object Use to access information passed by HTTP requestc Use to access methods and properties on the server Request object Used to control the information sent to the client
  • 13. Analogy The best way to understand these two objects is to think of a telephone call. When u place a call, u are requesting that someone on the other end of the line pick up the phone. When that person answers the phone, he/she issues a response to your request (the ringing phone). Depending on what the person says, you process the results of your request by taking specific actions depending on whom you are talking to and for what purpose.
  • 14. Request Object Collection Client Certificate • User certificate is required for access to the page Cookies • Cookies are sent to the server for examination Form • Takes all values passed by html form QueryString • Makes available to the web server all values contained Server Variables • Makes available all the HTTP header values as sent by the user with the request.