Active Server Pages using VBScript Level 1
Why you should attend: Active Server Pages is a server based technology to create dynamic and interactive HTML pages for the Internet or Intranet. This course introduces you to the techniques necessary to create a data driven website. During this course you will learn how to design a website that will customize the user's experience to reflect their browser capabilities and previously gathered information, dynamically display information from a data store, add and modify records in a data store, send and receive e-mail. Upon completion of this course you will have the skills necessary to create a simple e-commerce site.
Suggested Prerequisites: Basic programming skills, the ability to write simple SQL statements, and HTML knowledge sufficient to create a simple form.
Attend and You Will Learn
Lesson 1: Introduction to ASP
- Why ASP?
- What is ASP?
- Which scripting language to use
- The difference between client-side and Server side scripting
- Basic programming in VBScript
- Declaring variables
- Arithmetic operations and functions
- String operating and functions
- Writing the basic logic structures in VBScript
- Writing functions and subroutines
- Array handling
Lesson 2: Debugging VBScript
- Use option explicit
- Using response write
- Using subprocedures
- Using include files
- Using conditional tracing
- Using err object
- Using the script debugger
Lesson 3: Working with Objects in ASP
- Overview of objects
- Using the request object
- Using the response object
- Using the server object
- Using the session object
Lesson 4: "Remembering Data"
- Working with global.asa
- What is global.asa
- Using global.asa events
- Working with cookies
- What is a cookie?
- Creating cookies
- Making cookies persistent
- Deleting cookies
Lesson 5: Working with Components
- What is a component?
- Overview of ASP components
- The browser component
- Using the browsecap.ini file
- Identifying the browser
- Redirecting the user
- Handling different browsers
- Using the Ad rotator component
- Using the content linker component
Lesson 6: Sending and Receiving E-mail
- Sending e-mail
- Create a feedback form
- Send e-mail
- Attach files
- Retrieving e-mail
Lesson 7: Working with Databases in ASP
- Introduction to databases
- Database overview
- ODBC databases
- OLE-DB databases
- The connection string
- Understanding the recordset
- Queries vs. stored procedures
- Displaying static data on-line
- Displaying all information
- Using forms to filter data
- Updating a database on-line
- Invoking stored procedures
- Using parameters
- Using return codes
Lesson 8: Putting it all Together: CTU On-Line Auction Site
- Registering a new user
- Logging in established users
- Adding items to be auctioned
- Handing large fields
- GetChunk
- AppendChunk
- Updating an existing item
- Browsing items for sale
- Entering bids
- Accepting the highest bid
- Using e-mail to notify user of successful bid
|