IS 4506 Interactive Clients & Servers

Slides:



Advertisements
Similar presentations
Other Web Application Development Technologies. PHP.
Advertisements

E-Commerce CMM503 – Lecture 8 Stuart Watt Room C2.
Overview Environment for Internet database connectivity
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
DT228/3 Web Development WWW and Client server model.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
1 Today: Introduction to ASP- Part 1 Explain the client/server architecture Explain Web-based client/server applications Understand the essentials of Active.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
BICS546 Client/Server Database Application Development.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
DATABASE APPLICATION DEVELOPMENT SAK 3408 The Web and DBMS.
Introduction to Web Database Processing
Mark Dixon, SoCCE SOFT 131Page 1 16 – Web applications: HTML and Client-side code.
DT211/3 Internet Development Application Internet Development Application.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to Web Interface Technology (CSE2030)
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
Introduction to Web Interface Technology (CSE2030)
Oral Presentation CSCE 330 ASP Tamiko Simmons Sherita Gee Robert Rhoden.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
INTRODUCTION TO WEB DATABASE PROGRAMMING
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
MSSQL & ASP. Client-Server Relationship Client-Server Relationship HTML Basics HTML Basics Scripting Basics Scripting Basics Examples Examples.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
HTML Forms and Scripts. Session overview What are forms? Static vs dynamic Client-side scripts –JavaScript.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
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.
Data-Enabled Web Sites: Classibooks.com & Internet Database Technologies Colin Fukai April 4, 2000 Gonzaga University.
3/8/00asp00 1 Active Server Pages from Microsoft Nancy McCracken Northeast Parallel Architectures Center at Syracuse.
Server Side Programming ASP1 Server Side Programming Database Integration (cont.) Internet Systems Design.
Elements of ASP Documents Adapted from MCDN Web Workshop ( and Webmonkey’s Introduction to Active.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Lesson 18. CGI Setup Browser Server CGI Scripts/ Program Database Request Http reply.
IS 4506 Interactive Clients & Servers.  Overview Fat Client versus Fat Server Spectrum of Web content formats Active Server Pages Active Server Page.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Active Server Pages Server-Side Scripting and Client-Side Scripting.
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.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
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.
January 27, 2001ASP Basics1 Active Server Pages (ASP) Basics The client/server model Objects Forms Active Server Pages VBScript Lab and Homework.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
Open Solutions for a Changing World™ Eddy Kleinjan Copyright 2005, Data Access WordwideNew Techniques for Building Web Applications June 6-9, 2005 Key.
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.
Internet/Web Databases
Web Programming Language
Section 6.3 Server-side Scripting
Active Server Pages Computer Science 40S.
21 – Web applications: Server-side code (ASP)
Jim Fawcett CSE791 – Distributed Objects Spring 2001
PHP / MySQL Introduction
Client side & Server side scripting
DT211/3 Internet Development Application
File Operations Access Permissions.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Database Connectivity and Web Development
CIS 133 mashup Javascript, jQuery and XML
HTTP and HTML HTML HTTP HTTP – Standardize the packaging
Presentation transcript:

IS 4506 Interactive Clients & Servers

Overview Fat Client versus Fat Server Spectrum of Web content formats Active Server Pages Active Server Page elements Use of the script tag

Client /Server Architecture PCs Middleware Server

Web Client/Server Architecture Web Browser INTERNET INTRANET HTTP Server

Spectrum of Web Content Formats Active Personalization and Transaction Processing Interactive Applications Data-bound Applications Dynamic HTML Linked (Basic) Content Static

Active Server Pages Dynamic content Easy database connectivity Scalable server-side solution Integrated state and user management Reusable software model

Active Server Page Elements ASP scripts Objects ASP built-in objects Installable ASP objects Installable ASP components Component creation

ASP Scripts Flexible server-side scripting Exposes object model Components accessed using properties and methods Temperature conversion example VBScript code

Objects ASP built-in objects Installable ASP objects

ASP Built-in Objects Server Object Application Object Session Object Request Object Response Object ObjectContext Object

Component Creation Created in any language Components follow the COM standard Accessed only by the server Extend ActiveX server components

Use of the Script Tag Script tag on Active Server Pages <% Code %>

ASP Examples Hello.htm Hello.asp Form.htm

Hello.htm <HEAD> <TITLE> Static Hello </TITLE> <BODY> <FONT SIZE = 7 > Hello World!<BR> </FONT> </BODY> </HTML>

Hello.asp <%@ LANGUAGE = VBScript %> <HEAD> <TITLE>Active Hello Page </TITLE> </HEAD> <BODY> <% For I = 3 To 7 %> <FONT SIZE=<%= I %>> Hello World!<BR> <% Next %> </FONT> </BODY> </HTML>

Form.htm <HTML> <HEAD><TITLE>Order</TITLE></HEAD> <H2>Sample Order Form</H2> <P>Please provide the following info, then click Submit:</P> <FORM METHOD="POST" ACTION="response.asp"> Title: <INPUT NAME=“title” SIZE=“5”><BR> First Name: <INPUT NAME="fname" SIZE="48"><BR> Last Name: <INPUT NAME="lname" SIZE="48"> <P><INPUT TYPE=SUBMIT><INPUT TYPE=RESET></P> </FORM> </BODY> </HTML>

Response.asp <%@ LANGUAGE = VBScript %> Thank you, <% Title = Request.Form("title") LastName = Request.Form("lname") If Title = "mr" Then %> Mr. <%= LastName %> <% ElseIf Title = "ms" Then %> Ms. <%= LastName %> <% Else %> <%= Request.Form("fname") & " " & LastName %> <% End If %> for your order.<BR>

Response2.asp <%@ LANGUAGE = VBScript %> <% Title = Request.Form("title") LastName = Request.Form("lname") FirstName = Request.Form("fname") Response.Write "Thank you " If Title = "mr" Then Response.Write "Mr." & LastName ElseIf Title = "ms" Then Response.Write "Ms." & LastName Else Response.Write FirstName & " " & LastName End If Response.Write " for your order!!" %>

mail.asp <%@ LANGUAGE = VBScript %> <% Dim Message Set message = CreateObject("CDONTS.NewMail") message.send Request.Form("From"), Request.Form("To"), Request.Form("Subject"), Request.Form("text") Set message = Nothing %> The Following Email Has Been Sent: <p>From: <%= Request.Form("From") %> </p> <p>To: <%= Request.Form("To") %> </p> <p>Subject: <%= Request.Form("Subject") %> </p> <p>Text: <%= Request.Form("text") %> </p>

Lab 11: Active Server Pages

Review Spectrum of Web content formats Active Server Pages Active Server Pages elements Use of the script tag