CLASS 2 - PowerPoint PPT Presentation

1 / 24
About This Presentation
Title:

CLASS 2

Description:

SOME VBSCRIPT REFERENCES. THE RESPONSE OBJECT. THE FORM TAG? FTP INSTRUCTIONS ... VBSCRIPT. JAVA. SQL. USE HTML, VBSCRIPT, JAVA ALL IN THE SAME PROGRAM. SERVER ... – PowerPoint PPT presentation

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

less

Transcript and Presenter's Notes

Title: CLASS 2


1
CLASS 2
2
OVERVIEW
  • FOLDER NUMBERS
  • FTP INSTRUCTIONS
  • CLIENT SIDE/ SERVER SIDE
  • WHAT YOU NEED FOR ASP
  • WHY CODE IN ASP?
  • SOME VBSCRIPT REFERENCES
  • THE RESPONSE OBJECT
  • THE FORM TAG?

3
FTP INSTRUCTIONS
  • HTTP//129.115.10.93/CONNECT
  • http//129.115.106.93/connect

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

6
SERVER SIDE SCRIPTING
  • COMMANDS EXECUTED BY THE SERVER
  • (FOR MOST THINGS)

7
CLIENT SIDE SCRIPTING
  • (WE WONT DO)
  • WHY?
  • DONT HAVE TO SEND DATA ALL THE WAY TO SERVER
    BEFORE CORRECTING/WHATEVER?
  • BUT BECOMES BROWSER DEPENDENT
  • NETSCAPE, INTERNET EXPLORER

8
TECHNOLOGY REQUIRED
9
SERVER SIDE
  • INTERNET INFORMATION SERVER
  • I THINK WE HAVE IIS 4.0
  • PERSONAL WEB SERVER
  • CAN INSTALL ON YOUR PC

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

11
SOMETHING TO THINK ABOUT
  • PROGRAM AND DEBUG USING PWS
  • THEN TRANSMIT TO YOUR FOLDER
  • (DONT FORGET TO SPECIFY NEW PATHS)

12
CLIENT SIDE
  • TO CREATE PROGRAMS
  • NOTEPAD
  • WORDPAD
  • ULTRAEDIT
  • FRONT PAGE
  • TO RUN PROGRAMS
  • BROWSER
  • INTERNET EXPLORER
  • NETSCAPE

13
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

14
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.

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

16
LEARNING TO LEARN
  • OBJECT ORIENTED LANGUAGE
  • CONSTANTS
  • ERRORS
  • EVENTS
  • FUNCTIONS
  • METHODS
  • OBJECTS
  • OPERATORS
  • PROPERTIES
  • STATEMENTS

17
RESPONSE OBJECT
18
PROPERTIES
  • BUFFER
  • CACHECONTROL
  • CHARSET
  • CONTENTYPE
  • EXPIRES
  • EXPIRESABSOLUTE
  • ISCLIENTCONNECTED
  • PICS
  • STATUS

19
COLLECTIONS
  • COOKIES

20
METHODS
  • ADDHEADER
  • APPENDTOLOG
  • BINARYWRITE
  • CLEAR
  • END
  • FLUSH
  • REDIRECT
  • WRITE

21
EVENTS
  • (NONE)

22
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

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

24
  • IF .HTML OR .HTM, JUST FORMATS AND DISPLAYS ON
    BROWSER
  • IF .ASP, EXECUTES INSTRUCTIONS, CREATES HTML PAGE
    WITH RESULTS AND THEN DISPLAYS ON BROWSER.
Write a Comment
User Comments (0)
About PowerShow.com