This is where I display grades and organize resources for CS3270 — Adv. Web Programming.
Spring 2020
Current Grades
Web Programming links:
Assignments:
- Final Project: RE Game Replays -- (due 5/07, 10:30am)
As a team, create a report describing your team's implementation of the Final Project. Include pictures/screenshots, and a walk-through of major functionality. Save this file as a webpage and attach to each team-member's hw.htm page. Each team member should also save the source-files (*not* the webpage!) in their TurnIn folder on the CS server.
During the Final Exam period, your team should present your working project to the class
Hint: what does this PHP-page seem to do?
(this link doesn't work!)
- HW8: Introducing Dynamic DB Features into our RE Page Design (due 4/16)
- HW_SQL -- Read Textbook Chapters 13-15
Code Examples from: mySQLlab_3270.ppt:
- Slide 26 (Open DB cnnxn -- mysql_connect, NOW() )
- Slide 27 (row processing -- mysql_fetch_row() )
- Slide 29 (Error checking (DB) -- mysql_error() )
- Slide 30 (Error checking (query) )
- Slide 31 (Row retrieval)
- Slide 35 (Associative Row retrieval)
- Slide 36 (Looping through a Recordset)
- HW7 -- Save Game and GameLog pages (due 4/09)
Create a new copy of hw6.php named hw7.php
Activate your GameLog link so that it displays the contents of GameLog7.txt when clicked (suggest: a new PHP page)
- when you add a shrimp to the board, append that event (and shrimp-location) to the GameLog file (e.g. A shrimp was added to space C5)
- When you start a new game, the logfile is cleared/overwritten
- Example Reef Encounter LogFile
Add a new link beside the GameLog link called "Save Game"
- write the contents of your board DS to SavedGame7.txt
Create a new PHP page that displays the contents of this file. Link to it from both: your hw7.php, and your hw.htm
Link to hw7.php from hw.htm
Code Examples from lect4.3_RWFile_cs3270_S20.ppt:
- Slide 4 (Create myfile.txt -- PHP rocks)
- Slide 7 (Create myfile.txt -- PHP bomb)
- Slide 10 (Read myfile.txt -- readfile)
- Slide 11 (Read RE gamelog -- file_get_contents)
- HW6 -- Dynamic RE Main Page (due 3/31)
FNeville's RE PHP page
- HW5 -- Automatic RE Board generation with PHP (due 3/05)
- Rename your HTML file to: REhack.php
- Locate the DIV containing the two boards
Set your two board-JPGs to: Board0 and Board3
- Programmatically generate the initial polyp-tiles so they match these initial boards
- Replace repetitive HTML elements (e.g. <SPAN>s with Numbers, Letters) with PHP code that programmatically generates the appropriate tags (hint: use a loop!) with the appropriate top/left values for their contents
- Read CH16.1 – 16.3 in your course textbook
You are finished when the webpage your PHP file generates looks exactly like FNeville's RE HTML page.
(Note: your HTML source need not be in the same order -- nor be as prettified -- as FNeville's — only the rendered webpages need be indistiguishable)
Attach a link to this file to your hw.htm page, along with a link to FNeville's HTM version for comparison
- HW4B -- RE Web-Scraping Fun! (due 2/25)
- HW4 -- RE Design Decisions (due 2/25)
FNeville's RE HTML page
- HW3 -- RE Design Document (due 2/18)
FNeville's RE HTML page
- HW2 -- Due Thurs 2/13:
Lab Exercises and Hangman Assignment
- HW1 -- Due Thurs 1/30
HW1 Description
First, some housekeeping:
- Make a copy of your CS2270 hw.htm file (if it still exists) and rename it something like hw2270.htm.
- Clear hw.htm of CS2270 links (though you may add a link to the renamed page above if you like)