Note 12 for Web Scripting

Watch & Read:

ASP vs PHP

ASP Declaration PHP Declaration

<%
response.write("Hello World!")
%>

<?php
echo "Hello World";
?>
ASP Variable Declaration
PHP Variable Declaration
dim name
name="Donald Duck"
$txt="Hello World";
ASP Write PHP Echo
response.write("Hello World!")
echo "Hello World";

Setup Dreamweaver for ASP to work with my server. You will need to setup your connection

Download the jstorslee.mdb database and put your name on it (first initial and last name).mdb then FTP the database into your directory on the Web!

dynamic

Dreamweaver combined these languages to create our dynamic page:

ADO - Server.CreateObject ("ADODB.Command");

SQL - SELECT * FROM productinfo

ASP

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/CNJstorslee2.asp" -->
<%
Code for the page
%>


Terms you need to Lookup:

ASP, PHP, SQL, Oracle, DB2, Access

Review the following:

Wikipedia info on ASP and PHP

Homework:

Reminder: Post on the Discussion Board Section at least one URL of a Web Page that uses a Web script and describe how the script works.

You should go to the W3schools tutorial on ASP and PHP!

Final Step:

Imagine that your mind is a DVD recorder / player and you can review this content anytime you want.  I want you to close your eyes and quickly review in your mind everything we covered in class. 

I also want you to review everything we covered before you go to bed because I want your mind to process this information while you sleep.  You don’t need to spend much time on this review, 5 minutes will be enough!