Tuesday, May 23, 2006

Thank you

I hope you were introduced to HTML, PHP, and SQL. What took a long time at the beginning is now somewhat routine for you. My biggest regret is that the school did not provide you with copies of Dreamweaver for use at home. I also regret not opening up the port so you could access the AOIT server from home. But I think most of you have a pretty good idea what dynamic web programming is about. Maybe in the future some of you will continue with computer science courses or you'll practice on your own.

Take care!

Monday, May 22, 2006

Review

Know the following:

MySQL:
Creating tables
Populating Tables
SQL SELECT statements

HTML:
Background color and images
Links
Tables
Inserting PHP and Javascript
Font color and size

PHP:
Variables
If statements
For loops
While loops
Understand the programs here.

Dreamweaver:
Basic usage

An example of AOIT work I found online

When you type in AOIT, this school comes up first with Google. Look at their student work examples...I'd say you guys are ahead of most 10th graders.

Sunday, May 21, 2006

Good review of functions and classes

http://www.osnews.com/story.php?news_id=6788

Thursday, May 18, 2006

AJAX

http://ajax.solutoire.com/

Many of you will use this in your future web programming...

Wednesday, May 17, 2006

One of the more interesting explanations of MySpace

It's an inverse relationship: as fear goes up, public outings go down. Public outings go down, myspace activity goes up.

Tuesday, May 16, 2006

Funny site

http://www.rinkworks.com/dialect/

20% of your final

You will create a web page for a Killian club (pick any) with the following requirements:

No templates from the Internet.
Use an example of PHP, Javascript, and HTML (obviously).
Due on the day of the final AT THE BEGINNING OF CLASS as a link on your blog!!

The three pages need to have links to each other. One page must have a table of some sorts. Use interesting colors and pictures (4 minimum).

Also you need to create a table with the student information: First Name, Last name, Homeroom. Use the PHP Connection script from February 6th 2006 to display the first names ONLY on a page.

Create an interesting logo and put it at the top!

I encourage code reuse from other projects obviously.

Grade breakdown:

30% pictures, color, and table
20% PHP connection
20% student table
10% Javascript example
10% logo
10% working links between three pages

PHP Scripts to study

1. How to display the date on a web page.

2. Change the background color based on the day of the week. Uses logic (if statements)!

3. Calculate the averages.

4. A.) A php slot machine in action.

B. The code for above example.

5. A. Refresh this page a few times.

B. The code for the example. Notice the use of arrays.

Your assignment is to put each of these scripts on the server and comment each line.

Remember comments are with // or /* */

Monday, May 15, 2006

Class Exercise

Write a for loop that counts out the minutes in an hour and displays every fifth minute, display the minute and the time left until the hour is through.

Today's exercise.