class 8 | homework: blog with MySQL and PHP
Showing posts with label homework. Show all posts
Showing posts with label homework. Show all posts
Saturday, April 18, 2009
Saturday, April 11, 2009
class 7 | homework: PHP image-uploading service

class 7 | homework: PHP image-uploading service
Features:
-registration, login, main index, and upload image pages, with processing pages for login, register, and upload pages
-if a non-registered user requests index or upload page, the user is auto re-directed to login page and a friendly log in message is displayed
-if a user enters a blank username or password while registering or logging in, or enters an incorrect username/password combination on the login page, then the user is redirected back to the same page with an appropriate user-friendly error message
-if user successfully uploads an image file, a success message appears on the index after auto re-direct
-the main page displays up to 50 images, with caption, and author
Future features:
-terminating cookies, is it just setcookie ("logged_in", "", time()-3600);? didn't get around to experimenting
-reading the images.txt from the bottom to display most recent at top (or another way to display the latest uploads at the top of index page)
Saturday, April 4, 2009
class 6 | homework: using PHP to template e-commerce page

class 6 | homework: using PHP to template e-commerce page
Mouse over a thumbnail to see its description!
Saturday, March 28, 2009
class 5 | homework: jQuery mouseover/out event handler

class 5 | homework: jQuery mouseover/out event handler
Mouse over a thumbnail to see its description!
Friday, March 13, 2009
class 4 | homework: form with JavaScript version 2

class 4 | homework: form with JavaScript version 2
This week's homework was to finish up the in-class assignment from Saturday. Since my last version, I updated the JavaScript code and styled the page to match the model.
In the JavaScript code, I now have one function for all three forms instead of three because it uses the more flexible document.getElementById() and has two parameters, one for each form it interacts with.
When styling this time around, I made sure I positioned things to match the model wireframe using more div's, clears, padding, and margins as opposed to lots of relative positioning. I think this is the better way to do things.
Saturday, March 7, 2009
class 3 | homework: two design comps into XHTML/CSS

The class 3 homework assignment was to convert two design comps into XHTML/CSS.
My BlackBook page is pretty much finished.
My MTV page needs more work.
Saturday, February 28, 2009
class 2 | homework: actor wireframe and homepage XHTML/CSS

The homework due today was to convert a wireframe diagram to XHTML/CSS and then style it.
For the second part, I chose to make the site for Emile Hirsh. I learned a whole bunch while doing these, but I need to keep working on grouping my div boxes better, using clear, and writing more efficient CSS code.
Subscribe to:
Posts (Atom)