CLASS 2 - PowerPoint PPT Presentation

1 / 21
About This Presentation
Title:

CLASS 2

Description:

SOME VBSCRIPT REFERENCES. WRITING AND EXECUTING A PROGRAM. THE RESPONSE OBJECT. THE FORM TAG? ... USE HTML, VBSCRIPT, JAVA ALL IN THE SAME PROGRAM. ASP OBJECTS ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 22
Provided by: temp
Category:
Tags: class | vbscript

less

Transcript and Presenter's Notes

Title: CLASS 2


1
CLASS 2
2
OVERVIEW
  • FOLDER NUMBERS
  • PWS REF SITE
  • WHY CODE IN ASP?
  • SOME VBSCRIPT REFERENCES
  • WRITING AND EXECUTING A PROGRAM
  • THE RESPONSE OBJECT
  • THE FORM TAG?

3
INSTALLING PWS ON YOUR PC
  • HTTP//COVERYOURASP.COM/PWS.ASP
  • I HAVENT TESTED THE INSTRUCTIONS

4
FRONT PAGE, INTERDEV
  • WILL HELP YOU DO PROJECTS EASIER(?)
  • WONT LET YOU LEARN ASP
  • WHY LEARN ASP?
  • http//www.4guysfromrolla.com/webtech/top10/beg9.s
    html

5
WHY ASP?
  • A) UNDERSTAND PARADIGM
  • B) DEBUG COMPLEX CODE
  • C) MAY NOT HAVE TOOL HANDY
  • D) TOOL MAY NOT BE ABLE TO DO WHAT YOU WANT TO DO
  • ONCE YOU LEARN ASP, OK TO USE TOOLS.

6
VBSCRIPT REFERENCE
  • HTTP//MSDN.MICROSOFT.COM/SCRIPTING/VBSCRIPT/DOC/V
    BSTOC.HTM

7
WRITING AND EXECUTING A PROGRAM
  • STEP 1 WRITE CODE USING NOTEPAD OR WORDPAD ETC
  • STEP 2 SAVE ON FLOPPY OR HARD DRIVE
  • STEP 3 FTP INTO YOUR FOLDER
  • STEP 4 FIRE UP BROWSER AND EXECUTE THE PROGRAM

8
EXECUTING A PROGRAM ON THE SERVER
  • PROGRAM MUST HAVE ONE OF THESE EXTENSIONS
  • .HTML
  • .HTM
  • .ASP

9
  • IF .HTML OR .HTM, JUST FORMATS AND DISPLAYS ON
    BROWSER
  • IF .ASP, EXECUTES INSTRUCTIONS, CREATES HTML PAGE
    WITH RESULTS AND THEN DISPLAYS ON BROWSER.

10
WHAT IS ASP?
11
ACTIVE SERVER PAGES
  • USES
  • HTML (PRESENTATION)
  • VBSCRIPT
  • JAVA
  • SQL
  • USE HTML, VBSCRIPT, JAVA ALL IN THE SAME PROGRAM

12
ASP OBJECTS
  • RESPONSE
  • REQUEST
  • SESSION
  • SERVER
  • APPLICATION

13
ADO OBJECTS
  • ACTIVEX DATA OBJECTS
  • (ONES THAT WE WILL USE)
  • CONNECTION
  • RECORDSET

14
CDO OBJECTS
  • ONE THAT WE WILL USE
  • NEWMAIL

15
RESPONSE OBJECT
16
RESPONSEPROPERTIES
  • BUFFER
  • CACHECONTROL
  • CHARSET
  • CONTENTYPE
  • EXPIRES
  • EXPIRESABSOLUTE
  • ISCLIENTCONNECTED
  • PICS
  • STATUS

17
REPSONSECOLLECTIONS
  • COOKIES

18
RESPONSE METHODS
  • ADDHEADER
  • APPENDTOLOG
  • BINARYWRITE
  • CLEAR
  • END
  • FLUSH
  • REDIRECT
  • WRITE

19
EVENTS
  • (NONE)

20
RESPONSE.WRITE
  • TEXT
  • NUMBER
  • VARIABLES
  • LINE BREAK
  • CONCATENATING
  • BUILDING UP A STRING VARIABLE
  • FORMATTING A TABLE

21
STANDARD NOTATION
  • Integer int intAGE
  • String str strNAME
  • Currency cur curPAY
  • Date dt dtBDAY
  • Variable var varX
  • Object obj objRS
Write a Comment
User Comments (0)
About PowerShow.com