![]() |
|
ASP LabASP is a server-side technology used mainly with Microsoft IIS Web servers. We'll be using ASP with VBScript for database integration. For example, if we want to add a record to a database via a form on a Web page, we need some kind of scripting. HTML (or even HTML with client-sided JavaScript) doesn't allow interaction with files on the server. In this lab you will write some very simple ASP/VBScript scripts so that you will have a better understanding of the code that Dreamweaver generates to facilitate database interaction. This lab will make more sense to those with some programming background, but even programming novices will get an idea of how ASP works by doing these exercises. The lab exercises are in chapter 5 of Dynamic Dreamweaver MX. ASP code must be processed by a Web server that supports ASP, so you have to test (preview) your pages on a server. This is why we specified the testing server in the site definition. To test, Dreamweaver copies a tmp file to the server and then displays it in a browser. OPTIONAL: Setting up a web server on your home computerThe "What I Need To Get Started" section tells you how to install a web server on your home computer, but you don't need to do this. You should be set up to test your asp files on the cis2 server -- you already set that up as the testing server in the site definition. If you do set up a web server on your home computer, you can change the testing server part of your site definition to point to a folder you create in the local server root (should be C:\Inetpub\wwwroot\). This is desirable if you have a slow connection to the Internet because you won't have to upload a file to test it. What to Do
Submitting work
Grading - 40 points
|