DT211/3 Internet Application Development Active Server Pages & IIS Web server.

Slides:



Advertisements
Similar presentations
DT228/3 Web Development WWW and Client server model.
Advertisements

Languages for Dynamic Web Documents
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Server-Side vs. Client-Side Scripting Languages
1 Chapter 12 Working With Access 2000 on the Internet.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
Web Server Hardware and Software
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
INTERNET DATABASE Chapter 9. u Basics of Internet, Web, HTTP, HTML, URLs. u Advantages and disadvantages of Web as a database platform. u Approaches for.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Active Server Pages
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Internet Information Server Team Members: Hung Duong Hak Gauv Eric Luc David Nguyen Larry Tan.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Beginning Active Server Pages Barry Sosinsky Valda Hilley Programming.
INTRODUCTION TO WEB DATABASE PROGRAMMING
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 24 – Web Servers (PWS, IIS, Apache, Jigsaw) Outline 24.1Introduction 24.2Microsoft Personal.
Web Server A software program or server computer equipped to offer World Wide Web access. Web servers allow you to serve content over the Internet using.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Lecture Note 3: ASP Syntax.  ASP Syntax  ASP Syntax ASP Code is Browser-Independent. You cannot view the ASP source code by selecting "View source"
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
1 Web Server Concepts Dr. Awad Khalil Computer Science Department AUC.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Copyright 2000 eMation SECURITY - Controlling Data Access with
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 21 - Web Servers (IIS, PWS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
ASP Introduction Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Active Server Pages Server-Side Scripting and Client-Side Scripting.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
ASP. What is ASP? ASP stands for Active Server Pages ASP is a Microsoft Technology ASP is a program that runs inside IIS IIS stands for Internet Information.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
WEB SERVER SOFTWARE FEATURE SETS
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Active Server Pages v.s. Java Server Pages Presenters: Lan Guo Qunying Fan Pei-Xun Wu Date:
ASP Mr. Baha & Dr.Husam Osta  What is ASP?  Internet Information Services  How Does ASP Differ from HTML?  What can ASP do for you?  ASP Basic.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web Technology Seminar
Internet/Web Databases
Distributed Control and Measurement via the Internet
Section 6.3 Server-side Scripting
Active Server Pages Computer Science 40S.
Introduction and Principles
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
PHP / MySQL Introduction
Database Driven Websites
Web Development Using ASP .NET
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Web Servers (IIS and Apache)
Web Application Development Using PHP
Presentation transcript:

DT211/3 Internet Application Development Active Server Pages & IIS Web server

Introduction Purpose: to provide some practical experience of using IIS web server and basic ASP pages Active Server Pages Developed by Microsoft Active Server Pages is a ‘programming model’ (as is CGI) – Similar to JSP, script is interspersed with HTML Pages must have a file extension of.asp – otherwise, server won’t know to process as an ASP page

Web Servers Microsoft has two web servers that are usually used to run ASP IIS (Internet Information Server – Windows NT/XP Pro/2000 PWS (Personal Web server) – up to Windows 98 IIS is free with Windows 2000/XP Pro, part of the Windows NT 4 option pack. PWS is a scaled down version of IIS for Personal Computers. ASP pages can be run on other servers, provided the server has the ASP engine. Sun Microsystems have produced a product called Chili!Soft ASP which enables ASP to be used on other web servers including, Apache, I-Planet, Zeus, Red Hat Secure Server, etc, using various operating systems including, Linux, Solaris, HP-UX, AIX, etc.

Set up a web site in IIS Open administrator tools in Control panel – and open the Internet Server Manager Shows directory structure for IIS Default web site is the HTTP site. Expand the default web site (shown overleaf) and create a virtual directory in the Webpub directory - this will hold the documents for your web site. (A virtual directory is just an alias for a real directory that exists). This virtual directory will become part of the web address to access any documents contained in it e.g.

Set the access permissions

Set up a web site in IIS Access permission = security level choices for the virtual directory Read = users can read and download files in the directory Run Scripts = allows scripts in the directory to be run Execute = allows applications in the directory (e.g. CGI ) to be run Write = allows a Web page to accept user input (e.g. credit card input Browse = allows users to navigate from one web doc to another via hyperlinks inXP_pro.asp

Loading a document from IIS To load a HTML doc using IIS: First, ensure HTML doc has been placed in the virtual directory Then type the web address for your html doc into the browser. This will be: e.g To load ASP documents – do exactly as above, and remember to access using “.asp” e.g asp What ever you called the directory

ASP When a browser requests an ASP file, IIS passes the request to the ASP engine (ASP.dll). The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML ASP pages are usually written using VBScript, but can use other languages e.g. Microsoft’s Jscript VBScript is the default language (VBScript is a scaled down version of Visual Basic) Scripting code CAN be made to run on the client OR the server. e.g. can have an ASP page that contains Javascript validation to run on client, and VBScript for running on server (e.g. database access)

Uses of ASP Can be used similar to JSP for: Dynamically edit, change or add any content of a Web page Respond to user queries or data submitted from HTML forms Access any data or databases and return the results to a browser Customize a Web page to make it more useful for individual users Provides security since your ASP code can not be viewed from the browser Since ASP files are returned as plain HTML, they can be viewed in any browser

Differences between VBScript and Visual Basic VBScript explicitly supports one data type only, the Variant VBScript is an interpreted language VBSCript cannot directly use the Windows API There are few syntactical different in the use of some internal functions

How to start your IIS account The accounts are on the student webserver and can be access to through FrontPages \\erin.student.comp.dit.ie\dt211-3 Using and window password Your web site in IIS can be published to through Front- page by opening