Introduction to Active Server Pages for New Programmers

This course will teach students about the Active Server Pages skills you need to build full-featured, database-driven Web sites for Microsoft Internet Information Server (IIS). 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 Web site with ASP written in VBScript, the Microsoft programming script used in most ASP applications. 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.

After completing this three-day course, students will be able to:

  • Introduction to Server-side XML with ASP
  • Use Cookies and Sessions to Remember Information
  • Explore Server-Side ASP Components
  • Build Database-Enabled Applications With ASP
  • Make Your Code Modular with Subroutines and Functions

 

key facts buy online

• code: W143eng
• 3 days
Download outline

Student edition
A4 format
A5 format
Instructor edition
A4 format
A5 format

Target audience

Students should have an excellent working knowledge of HTML, gained through experience or attendance on an advanced level course

Course content

Active Server Pages: A Web Server-Side Technology Client-Side vs. Server-Side Web Technologies • The Web's Client-Server Relationship • Which Web Servers Support Active Server Pages?

Writing ASP Pages ASP Code In An HTML Context • ASP Code Is “Language Neutral” • VBScript Statements to Execute in ASP • Enclosing Scripting Code within your ASPs • Strings in VBScript • An Abbreviation for Response.Write • Developing ASPs in This Class • An Example: “Hello World” • ASP Directives, Statements, Expression and Comments • VBScript Flexibility and Good Programming Practices • Exercise 1: Adding Date and Time Stamps to a Page

Processing Data from Online Forms The <FORM> Tag and Its Attributes • ASP Objects • The Request and Response Objects • Scalar Variables in ASP • Example: Displaying a Customized Greeting • Exercise 2: Personalizing the Homepage for WLDC

Conditional Constructs with “If” Comparison Operators in VBScript • Adding an Else Clause • Example: Implementing an Else…If…End If Conditional • Exercise 3: Implementing a Conditional Construct • Adding One or More ElseIf Clauses • Example: Implementing an Else…ElseIf…Else…End If Conditional • Exercise 4: Implementing an ElseIf Clause • The Logical AND and OR • Combining the Form and Its Processing Code In One ASP File • Exercise 5: Combining the Form and Processing Page

Working with Cookies Setting and Retrieving a Cookie • Cookie Properties • Example: Setting, Retrieving, and Expiring a Cookie • Exercise 6: Enhance the WLDC Home Page With Cookies

Maintaining State with the Session and Application Objects The Session Object • Storing and Retrieving Values Using the Session Object • Session Properties and Methods • Example: Using the Session Object to Track a Shopping Cart • Exercise 7: Building a Shopping Cart for WLDC • The Application Object • Exercise 8: Use the Application Object To Track Auction Bids

Working With Components Instantiating Component Objects

Sending E-mail with CDONTS Exercise 9: Implementing CDONTS E-mail at WLDC

Writing To A Text File Example: Writing to a Tab-Delimited File • Exercise 10: Storing Registrations in a Tab-Delimited Text File

Loop Structures For … Next Loops • Example: Populating SELECT Lists with For • Example: Create Form Fields, Retrieve Values with For…Next Loops • Exercise 11: Implementing For • Collections in ASP • For Each…Next Loops and Collections • Exercise 12: Using For Each

ASP-to-Database Integration with ADO The Databases Used in this Class • Issuing Database Commands with SQL • The ADO Object Model • Example: Selecting and Viewing Data From guestbook.mdb • Database Connectivity with view.asp • Exercise 13: Retrieving a Record from the Database • The Connection Object’s Execute Method • Exercise 14: Dynamically Populating a Select List • Exercise 15: Building a Search Engine Interface • Exercise 16: Enhance the Registration Form to Insert a New Client • Development Strategy Session: Building an Interface for Updating ClientRecords • Exercise 17: Building an Interface for Updating Client Records

VBScript Subroutines and Functions Subroutines • Functions • Exercise 18: Use Subroutines in the Client Insert Page

Drilling Down and the Query String Building the Query String into a Link • Generating Drill Down Links Dynamically • Exercise 19: Drilling Down Client Data

Appendix A: Building an Interface for Deleting a Record Exercise 20: Building an Interface for Deleting Records

Appendix B: Recommended Resources


About Courseware Company :: Instructor-led training courseware :: Self-study solutions :: Buy online today

A gtslearning business division :: gtslearning CompTIA learning solutions ::Contact us :: Site map
© gtslearning, 2008. All rights reserved. Ownership of all trademarks and service marks is observed and respected.