Web Application Development with Active Server Pages - PowerPoint PPT Presentation

1 / 38
About This Presentation
Title:

Web Application Development with Active Server Pages

Description:

Book: Alex Homer's Professional ASP 3.0 Web Techniques WROX Press. Handouts. Classroom Setup ... Module 2 Structure of ASP. Module 3 Browser/Server Communication ... – PowerPoint PPT presentation

Number of Views:174
Avg rating:3.0/5.0
Slides: 39
Provided by: dhe87
Category:

less

Transcript and Presenter's Notes

Title: Web Application Development with Active Server Pages


1
Web Application Developmentwith Active Server
Pages
  • David Henson
  • dhenson_at_certifiednetworks.com
  • http//www.certifiednetworks.com

2
Introduction
3
Class Logistics
  • 7 Meetings
  • Class Hours 630 to 930
  • 2 Short Breaks Per Night
  • Book Alex Homers Professional ASP 3.0 Web
    Techniques WROX Press
  • Handouts

4
Classroom Setup
  • NT4
  • IIS
  • SQL7
  • MDAC 2.5
  • Internet Explorer 5

5
Course Overview
  • Definitions
  • Module 1 Overview
  • Module 2 Structure of ASP
  • Module 3 Browser/Server Communication
  • Module 4 Database Connectivity
  • Module 5 Updating Data

6
Course Overview, Contd.
  • Module 6 Advanced SQL7 Techniques for Dynamic
    Sites
  • Module 7 Security
  • Module 8 Email Communication
  • Module 9 Logging Visits
  • Module 10 Dealing with Browsers

7
Course Overview, Contd.
  • Module 11 OLE Automation
  • Module 12 XML

8
Definitions
  • ASP
  • IIS
  • SQL
  • HTML
  • HTTP
  • SSL
  • Tags
  • Browser
  • IP Address
  • ADO
  • OLE/DB
  • COM
  • GUID

9
Module 1 Overview
  • Client Server Communication
  • On the Back End
  • On the Front End
  • Software Configuration
  • Networking

10
Client Server Communication
11
On the Back End
  • Many Available Options
  • UNIX/LINUX, NT
  • Apache, IIS
  • ASP, Perl, PHP, C, VB

12
On the Front End
  • Internet Explorer
  • Netscape
  • Others
  • PDAs Palm Pilot, Windows CE
  • Cell Phones, Voice Mail Gateway
  • Crawler, Spider, Other Automated Engines

13
Software Configuration
  • Common Settings for IIS
  • Virtual Server
  • Virtual Site with host headers
  • Common Settings for NT/Windows 2000
  • Securing Data with NTFS

14
Networking
  • Name Resolution
  • DNS, WINS, LMHOSTS
  • Mapping Drives
  • FTP

15
Module 2 Structure of ASP
  • HTML Tags
  • ASP Tags
  • Server Side Includes
  • Intrinsic Objects
  • Request, Response, Server, Application, Session
  • Demonstration Structure of ASP

16
Common HTML Tags
  • ltTABLEgtlt/TABLEgt
  • ltTRgtlt/TRgt
  • ltTDgtlt/TDgt
  • ltFORMgtlt/FORMgt
  • ltMETAgt
  • ltBODYgtlt/BODYgt
  • ltBRgt
  • ltPgtlt/Pgt
  • ltBgt
  • ltFONTgt

17
Common ASP Tags
  • ltSCRIPT RUNATServergt lt/SCRIPTgt
  • lt gt
  • ltvariablegt

18
Common VBScript Syntax
  • Set
  • Ifthen
  • While
  • String Manipulation-
  • Left(string, 4)
  • Right(string, 4)
  • Mid(string, 4, 2)

19
Server Side Includes
  • lt!--Include fileCheckVars.asp--gt
  • lt!--Include virtualCheckVars.asp--gt

20
Intrinsic Objects
  • Application
  • Response
  • Server
  • Session
  • Request
  • ObjectContext

21
Demonstration ASP Structure
22
Module 3 Communicating Between Browser and
Server
  • Forms
  • Hidden Inputs
  • Request Object
  • Application Object
  • Session Object
  • Other Objects
  • Lab Browser/Server Communication

23
FormsDemo.asp
  • lt
  • If not request(somedata) then
  • response.write(The data is somedata
    ltbrgt)
  • end if
  • gt
  • ltFORM ACTIONDemo.asp METHODPOSTgt
  • ltinput typetext namesomedatagt
  • ltinput typesubmitgt
  • lt/FORMgt

24
Hidden Inputs
  • ltinput typehidden nametest value
    ltrequest(test)gt gt

25
Request Object
  • Exposes for use
  • Form Data
  • Href parameters

26
Application Object
  • Starts up when the first user hits the site
  • Ends when the server is shut down

27
Session Object
  • Relies on cookies
  • Makes information persistent between pages
  • Can be troublesome
  • DNS Round Robin
  • Load Balancing
  • Timeout, Cookies not allowed by browser

28
Session Example
  • Session(userid) request(userid)

29
Module 4 Database Connectivity
30
Module 5 Updating Data
31
Module 6 Advanced SQL 7 Techniques
32
Lab Browser/Server Communication
33
Module 7 Security
34
Module 8 Email Communication
35
Module 9 Logging Visitors
36
Module 10 Dealing with browsers
37
Module 11 OLE Automation with Excel and Other
Objects
38
Module 12 - XML
Write a Comment
User Comments (0)
About PowerShow.com