http://www.webucator.com Toll-free: 877-WEBUCATE (877-932-8228) From outside the U.S.: 315-849-2724 Fax: 315-410-5320
Introduction to ASP Training
Course length: 3 Days Course Web Page: http://www.webucator.com/Course.cfm?CourseID=ASP10a
Class Overview
In this ASP training course, students will learn to build full-featured, database-driven Web sites. This introductory course for new programmers lays out the basics of server-side Web programming with an introduction to classic programming structures and good programming practices. Students will apply these programming skills to the development of a fully functional data-driven website with ASP written in VBScript. Students will harness the power of ASP to remember users with cookies and sessions, collect and process information users enter into an online form, and provide rich integration with databases to track clients, orders, and products using ASP and the enhanced functionality of ASP components. Students will also learn to use sophisticated programming strategies and advanced features to add polish, speed and efficiency to Active Server Pages Web applications. In this ASP training course, students will work more thoroughly with ASP components for Web-to-database integration and use the server's file system to add features and functionality to a website. In addition, students will learn to work with other built-in and third-party components.
Class Goals
• • • • • • • • • • • Learn how ASP works Learn the basic syntax of ASP Learn to create dynamic interactive pages with ASP Learn to work with VBScript control structures Learn to use VBScript built-in functions Learn to work with ASP's built-in objects Learn to validate forms with ASP Learn to write functions and subroutines in ASP Learn to work with ASP Session, Application, and Cookie objects Learn to connect to a database with ASP Learn to send email with ASP
Class Prerequisites
• • • HTML CSS (Useful, but not required) Basic Programming (Useful, but not required)
Class Outline I. Active Server Pages: A Web Server-Side Technology
I.A. Client-side vs. Server-side Web Technologies I.B. The Web's Client-Server Relationship I.C. Which Web Servers Support Active Server Pages?
Page 1 of 3
http://www.webucator.com Toll-free: 877-WEBUCATE (877-932-8228) From outside the U.S.: 315-849-2724 Fax: 315-410-5320
II.
Writing ASP Pages
II.A. II.B. II.C. II.D. II.E. II.F. II.G. II.H. II.I. ASP Code in an HTML Context ASP Code is "Language Neutral" VBScript in ASP ASP Scriptlets VBScript Strings An Abbreviation for Response.Write Developing ASPs ASP Directives, Statements, Expressions and Comments VBScript Flexibility and Good Programming Practices
III. Processing Data from Online Forms
III.A. III.B. III.C. III.D. III.E. The FORM Tag and its Attributes ASP Objects The Request and Response Objects Scalar Variables in ASP Customizing a Page for the Visitor
IV. Conditional Constructs - IF Statements
IV.A. IV.B. IV.C. IV.D. IV.E. IV.F. Comparison Operators in VBScript Adding an Else Clause Implementing an IF...ELSE...END IF Conditional Adding One or More ELSEIF Clauses The Logical AND and OR Combining the Form and its Processing Code in One ASP File
V.
Working with Cookies
V.A. Setting and Retrieving a Cookie V.B. Cookie Properties V.C. Expiring a Cookie
VI. Maintaining State with the Session and Application Objects
VI.A. The Session Object V. . . Storing and Retrieving Values in the Session Object IA1 V. . . Session Properties and Methods IA2 VI.B. The Application Object
VII. Working with Components
VII.A. Instantiating Component Objects VII.B. Sending Email with CDONTS
Page 2 of 3
http://www.webucator.com Toll-free: 877-WEBUCATE (877-932-8228) From outside the U.S.: 315-849-2724 Fax: 315-410-5320
VIII. Writing to a Text File
VIII.A. Writing to a Tab-Delimited Text File
IX. Loop Structures in ASP
IX.A. IX.B. IX.C. IX.D. For...Next Loops Populating Select Lists Collections in ASP For Each...Next Loops and Collections
X.
ASP-to-Database Integration with ADO
X.A. X.B. X.C. X.D. X.E. Database Commands with SQL The ADO Object Model Retrieving a Record from the Database with ASP The Connection Object's Execute Method Building an Interface for Updating Client Records
XI. VBScript Subroutines and Functions
XI.A. Subroutines XI.B. Functions
XII. Drilling Down and the Query String
XII.A. Building the Query String into a Link XII.B. Generating Drill Down Links Dynamically XII.C. Building an Interface for Deleting a Record
Class Materials
In addition to a comprehensive set of materials, including course notes and all the programming examples, each student will receive a one-year subscription to Webucator's online reference library, which contains hundreds of the most current electronic technology books - a $149.95 value. For details, visit http://www.webucator.com/AtYourOwnPace/ReferenceLibrary.cfm.
Technical Requirements Technical requirements and setup instructions available at http://www.webucator.com/help/supportWiki/index.cfm/ASP10a For more information... sales@webucator.com Toll-free: 877-WEBUCATE (877-932-8228) From outside the U.S.: 315-446-0560 Fax: 315-410-5320
Page 3 of 3