ASP Training |
1-800-716-4324 |
|
San Francisco Bay Area Class Info for:
|
Introductory ASP - San Francisco Active Server Pages is Microsoft's term for dynamic web pages that are evaluated on a computer with a web server and then sent to a web browser. Apart from the Windows operating system, all of the programs and files needed to create and run ASPs are freely available, so many companies choose ASP as the technology for their sites. It is possible to write Active Server Pages in more than one programming language, but most people use Microsoft's VBScript language. In this training course you will learn the fundamental concepts of programming ASPs in VBScript. You'll also be introduced to one of the web servers capable of interpreting ASPs, Personal Web Server. By the end of the training, you will be able to create a web site with a registration form that submits a person's first and last name to another page that generates a username and emails it to yourself. The Interaction between Client Browser and Web Server We will show students how a web browser interacts with a web server to retrieve an ASP (Flash). Personal Web Server is a simple web server program used for this exercise. It runs on the common Windows operating systems -- Win98, 95, ME, and NT Workstation. PWS has few configuration options and provides a good introduction to web servers. Students will be shown how to find the file responsible for interpreting ASP pages, used in conjunction with PWS. Setting and Outputting Variables in VBScript ASP has a special syntax for setting and accessing variables' values. Your code (VBScript instructions) will assign string and numeric values to variables and perform basic string and numeric operations on these variables. We will train you in both minimal, and proper, coding practices using VBScript within an ASP. Common Functions Whethere you're dealing with text or numeric data, there are many "functions" that allow you to manipulate that data. For example, there is a function that calculate the square root of a number; conversely, for text data, there is a function that calculates the number of characters in a sentence. Using training exercises we will show you the most useful functions for dealing with text and numeric data in an ASP. If-Else Conditional Structures You will learn how to execute different sections of your code depending on whether a variable is equal to a particular value, or, alternatively, how to execute some failsafe code in case no conditions are met. Looping Constructs - sine wave example, maze example To iterate through a sequence of instructions, you can use one of several looping constructs. We will demonstrate the basics of the For-Next, While, and For-Each loops. You will also see an example of a nested loop, where some VBScript instructions are repeatedly executed inside another set of instructions that is also repeatedly processed; this technique is used, for example, to populate individual HTML table cells while looping around the code that populates the HTML table rows. Retrieving Submitted HTML Form Data - email example With a training exercise we will show you how to pass HTML form data and URL-appended variables to a page that error-checks and outputs them. We will also demonstrate how to use a "ForEach loop" to iterate through all the submitted form variables and output their values without knowing their names beforehand. Creating and Using VBScript Objects VBScript offers many functions which are only accessible through the creation of "objects". Using a particular syntax, your script can create and use these objects to send email or save text to a file on the hard drive. You will learn about object properties and methods (things you can do with the object). In particular, we'll examine an email object and you'll learn how to programmatically send an email (or a thousand emails if you like!) to a particular address. Prerequisites:
|
Newsletter subscribers can win $100 credit!
Home | Course Catalog | Schedule | About Us | Contact Us | Extras | Sitemap | Package Rates | Shopcart