DAY 1
1. We begin the class with a general introduction
to the server-side world, by addressing the following questions:
· What
is the difference between a dynamic and static site?
· How do dynamic
sites work?
· What is a
server-side language?
· Why use PHP
over the other server-side languages? (Which language
is the best?)
2. Installing, starting and testing the
Apache Server
3. Installing PHP
4. Testing PHP using Dreamweaver MX
Now we set up Dreamweaver MX so that we can test our PHP pages from
within Dreamweaver (rather than just running our PHP files from outside).
So we will Define our Server Model inside Dreamweaver MX
5. Introduction to PHP
· Creating comments
· Understanding and
creating variables
· Using include
files
· Using forms
with PHP
· Processing
forms with multiple options
· Conditional
statements
· “Looping” with
PHP
· While loops
· Do…while
loops
· For loops
· Arrays
· Cookies
DAY 2
1. More with Dreamweaver MX
Using Dreamweaver MX snippets to include your PHP code
Using Dreamweaver MX and PHP to create:
· A guest book
· Create a Login system
2. Installing, configuring and running MySQL
· Using the MySQL monitor
· Testing MySQL
· Create a database
using the command prompt
· Granting user
rights using the command prompt
3. Installing and configuring phpMyAdmin
· Creating tables for
your database in phpMyAdmin
4. Configuring DMX to use MySQL
· Testing your database
connection inside Dreamweaver MX
· Creating a
form to hold our data
· Building a
recordset
· Displaying
our information
· Testing the
completed application
5. Putting it all together – using
PHP, Apache, phpMyAdmin, MySQL, and Dreamweaver MX together
· Working with
PHP sessions
· Building a Registration
/ Login application
· Build the
form
· Validating
your form
· Inserting
information into the database
· Security
issues
· Solving multiple
usernames
· Encrypting
our passwords
· Testing the
form
· Creating
a Login Form
· Protecting
our secret pages
· Allowing
a user to logout
· Testing our
application
DAY 3
Class Project:
The Internet is overflowing with static
sites. Probably one of the reasons you are taking this class
is to elevate your site to the status of truly dynamic. We
have learned about Apache, PHP, MySQL, and phpMyAdmin, and
now it’s time to put it all together. Visit http://www.photodisc.com.
This is a site that sells digital photos. We will create something
similar by creating a modular page layout with a dynamic image
viewer that will store names, costs, descriptions, paths to
the downloadable files, and the dimensions of the images in
a database, and allow users to download and pay for the images
using PayPal. In addition we will be using a combination of
XHTML, CSS, and JavaScript, to make our code both efficient
and effective.