Assignments

Home Page | Web Server | PHP Page | Loop/Function | File I/O | MySQL Table | PHP/MySQL Table | PHP/MySQL Form | Krug

Create Your buffalo.edu Web Page (9 points)

For this Assignment you will use your existing HTML, CSS, and JavaScript knowledge to create a web page named index.html in your buffalo.edu account web space which will be used as the starting page for the rest of your Assignments for this course. You may modify an existing index.html file to meet the requirements below. Your web page should should be HTML5 and CSS3 compliant, should be well-designed, user friendly, easy to navigate and utilize the HTML5 tags, CSS3 styles and JavaScript. You will need to upload an image of yourself to your UB Web Space. You web page should:

You *MUST* use the W3c validator page at http://validator.w3.org/ to verify your code andhttp://jigsaw.w3.org/css-validator/ to verify your CSS styles.

Your web URL to view your web page is: http://buffalo.edu/~your-userid/

When you have this Assignment ready for me to view and grade you should post a note in the Home Page Discussion Folder with the URL of your web page so I can click on that link and open your Assignment in a new browser window (target="_new").

Back to Assignments

Setup Your WAMP (Windows) or MAMP (Mac) Web Server (9 points)

For this Assignment you will download and install either the WAMP (Windows, Apache, MySQL, and PHP) or the MAMP (Macintosh, Apache, MySQL, and PHP) software bundle on a local machine. You will test and verify this installation by creating a screen capture of the start page, the phpInfo, phpMyAdmin, and the SQLBuddy (Windows) or SQLite Manager (Mac) pages. You will then upload these four (4) images (server.png, phpinfo.png, phpmyadmin.png, and either sqlbuddy.png (Windows) or sqlitemanager.png (Mac)), to your UB Web Space. You will then create a web page named myserver.html in your account web space. This web page should:

You will modify the PHP function for this item in your index.html page to add a link for this assignment that allows me to view your work.

You *MUST* use the W3c validator page at http://validator.w3.org/ to verify your code and http://jigsaw.w3.org/css-validator/ to verify your CSS styles.

When you have this Assignment ready for me to view and grade you should post a note in the Web Server Setup Discussion Folder with the URL of your web page so I can click on that link and open your Assignment in a new browser window.
Back to Assignments

Create Your First PHP Web Page (9 points)

For this Assignment you will create a web page named mfc211.php on your local web server using your favorite text editor, notepad++ (Windows) or textWrangler (Mac). This file should be based on your index.html file. This web page should:

You will modify the JavaScript function for this item in your index.php page to add a link for this assignment that allows me to view your work.

When you have this Assignment ready for me to view and grade you should post a note in the PHP Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create a PHP Web Page That Uses a Loop, a Function, and Arrays (9 points)

For this Assignment you will copy your index.php file to a new file called lfa.php. You will also create a file called that will hold your PHP functions. You will need to include your functions.php in the code for your index.php file.

You will modify the PHP array function for this item in your index.php page to add a link for this assignment that allows me to view your work.

When you have this Assignment ready for me to view and grade you should post a note in the PHP Loop/Function/Array Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create a PHP Web Page That Reads and Writes a Text File (9 points)

For this Assignment you will create a web page named io.php on your local web server. This web page should:

When you have this Assignment ready for me to view and grade you should post a note in the PHP Input/Output Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create and Populate a MySQL Table (9 points)

For this Assignment you will create a well-designed HTML5/CSS page, db.php on your local web server. This file may be based on your index.php file. This web page should:

You will modify the PHP function for this item in your index.php page to add a link to your db.png that allows me to view your work.

When you have this Assignment ready for me to view and grade you should post a note in the MySQL Table Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create a PHP Table Page From a MySQL Table (9 points)

For this Assignment you will create a page, php_mysql_table.php on your local web server. This file should be based on your lfa.php file. This web page should:

You will modify the PHP function for this item in your index.php page to add a link to your php_mysql_table.php that allows me to view your work.

When you have this Assignment ready for me to view and grade you should post a note in the PHP/MySQL Table Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create a PHP Form Page That Writes to a MySQL Table (9 points)

For this Assignment you will create a page, php_mysql_form.php on your local web server. This file should be based on your index.php file. This web page should:

You will modify the PHP function for this item in your index.php page to add a link to your php_mysql_form.php that allows me to view your work.

When you have this Assignment ready for me to view and grade you should post a note in the PHP/MySQL Form Page Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments

Create a Krug PHP Web Site (10 Points)

For this Assignment you will create a well-designed web site demonstrating your understanding and comments about the Steve Krug book Don't Make Me Think! A Common Sense Approach to Web Usability on your local server. This site should:

  1. Contain seven (7) pages: a home page (about this site), 5 pages covering the guiding principles of the book, and a final "Contact Me" form page.
  2. Use a well-designed navigation so that the user can get to any page from any other page in this site. You may want to create a separate krug-nav.php file and use the php_include_once to use the same navigation throughout the site.
  3. Modify your JavaScript in your index.html file that uses an array of the Assignments for this course to display an ordered list of these assignments to convert the entry for this assignment to a web link that allows me download and save your seven (7) web site pages and your, krug_nav.php, vars.php, functions.php, and functions.js files so I can download, save, and grade your work.

You will modify the PHP function for this item in your index.php page to add a link to your php_mysql_form.php that allows me to view your work.

You will modify the PHP function for this item in your index.php page to add a link for this assignment that allows me to grade your work.

When you have this Assignment ready for me to view and grade you should post a note in the Final Krug Web Site Discussion Folder with the URL of your home web page so I can click on that link and open your Assignment in a new browser window (target="_new").
Back to Assignments