This course provide studnets with an orientation and introduction to dynamic content generation Using PHP. Dynamic content creation entails storing dynamic data in a back-end database and querying that data for presentation in XHTML. We use MySQL as a popular open-source relational database management system.
GRADING
Class participation - 20%
Four class projects - 80%
RESOURCES
Books
The recommended book for this class is the third edition of the book PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide, by Larry Ullman (December 2007).
Course Handouts and On-line Readings as identified below and in class
CLASS LINKS
Final versions of our projects as delivered to clients:
Review of the goals of all projects and skills required to fulfill them
Review of the class development process and opportunity to substitute projects
Consider the syllabus for the remainder of our class and be ready to discuss issues you have with the approach we're taking and the project work assigned.
20 October
Arrays, Functions and the "foreach" loop
The on-line lecture associated with this class session is on-line here.
Goals:
Learn about arrays in PHP
Learn what a function is and what it does
See how functions can be used in other statements
In-class:
Introduction to Lists
One-dimensional Arrays
Dynamic Arrays (using the array() function)
Static Arrays with Numeric Indices and the Array Access Operator
This project is on our server at: /var/www/html/dynphp/bdc/std
I added the pictures of the critters to the form after class and made the trawl database available for you to look at in our PhpAdmin forms.
Note: Our final class version of the project will be posted here.
Goals:
Consider how all our projects demonstrate the usability and rich features base of PHP and MySQL (or any back-end database)
In-class:
Advanced database queries
Review of all our projects
Design review for anyone who wants feedback from class peers
Question and answers based on your e-mails and then questions in class
Review of book topics not covered explicitly yet
Continue working your Projects for your personal portfolio
8 December
Last Day of Class
Goals:
Student portfolio design review
Consider how the additional features of PHP listed below could be used to your advantage in building attractive and useful websites
In-class:
Getting Comfortable with Self-Guided Learning in PHP
The following is a brief listing of some of the topics from which students can suggest topics for our last class together. The goal is for you to feel comfortable diving in to any possible topic on your own - have you figured out your own personal process for that yet? — (the topics will be discussed and voted on during our December 1st class):
Introduction to regular expressions
Using regular expressions to extract data from text
Filtering incoming values based on regular expressions