Friday, December 10, 2010

Final Project - Website

This needs a lot of work, but that will continue after the class has finished:

TOK2.US Corporate Website

I've added a section you can only see if you are logged in.  This is so that we can control who sees our content; we can invite specific partners and potential manufacturers to log into the site to see this special content.

The log in is as follows:

  User ID: demo_user
  Password: demo_user

Also, if you look at this site on a mobile phone, you are re-directed to another mobile site which has our concept demo.

Final Project - Sitemap and Wireframes

Here's my final project sitemap and wireframes:













Thursday, November 18, 2010

Class 8 - Homework

Here's the link to the message board homework assignment with the image functionality: link

This ended up being really hard.  I had a hard time figuring out why some posts were not updating to the database until I read ahead to the next class and learned how to use the Sanitize.class.php function.

Also, not all image files seem to work when I try to upload them.  When I try to upload these images, I get an error that looks like this:


WTF?

Monday, November 15, 2010

Class 8 - In-class Assignments

Here's the link to class 8's assignment: link

Database portion of the in-class assignment: link

Got it to work on the first try!  Awesome.

Sunday, November 7, 2010

Class 7 – Advanced Homework Assignment

Ah. The fun that is PHP. Here's a link to the optional class 7 homework: link

This is mostly just a copy of the in-class assignment, but I'm using the require_once statement to run an alternate PHP document, _product_data2.php. This PHP document reads in the productdatafile.txt text file, which contains all the product data separated by commas.

Good stuff. And now, a cat that looks like Hitler:




Source

Saturday, November 6, 2010

Friday, November 5, 2010

Class 6 - Homework - Tic Tac Toe

It's not pretty, but it'll work: link

There at least one bug that I know about. I'll try to fix it later.

Edit: I think I fixed the bug. Should be working the way I've intended.

Saturday, October 30, 2010

Wednesday, October 27, 2010

Class 5 - Homework Assignment

I know there are more elegant ways of doing this, but I just needed to get this out of the way so I can focus on other things: link

Friday, October 15, 2010

Class 3 - Homework Assignment

Hello all.   Please see below for my homework:




Let me know if you have any questions.  Thanks!

Steve

Saturday, October 2, 2010

Class 2 - XHTML From Wireframe

Hello all!

Please see my in-class assignment here:

 

Code is here:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
 <head>
   <title>Class 2 - In-class Assignment</title>
 </head>
 <body>
   <!-- the contents of the page go here -->
   <h1>Heading 1</h1>
   <img src="images/blankpic.png" alt="blank" align="left" width="79" height="107" />
   <div style="padding-left:90px;"
        <p>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut euismod ipsum ac leo dictum faucibus. Quisque pharetra viverra urna, et semper felis accumsan vitae. Ut sed bibendum massa. Suspendisse potenti. Praesent nibh felis, accumsan quis pharetra sed, euismod eget erat. Aenean et rutrum lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vivamus aliquam tempor dapibus. Mauris egestas metus justo.
            Maecenas dolor ipsum, ornare ut dictum sed, bibendum vitae tellus. Integer quis sapien est. Aliquam venenatis, eros interdum aliquam volutpat, magna sem placerat justo, vestibulum rhoncus turpis odio nec erat. Cras sed urna vel metus tincidunt molestie. Fusce tortor risus, auctor in malesuada ut, tincidunt quis lorem. Quisque orci odio, tempor vitae pellentesque auctor, elementum sed mauris. Nulla adipiscing felis ut felis eleifend eget rutrum urna varius. Vestibulum congue magna non purus tempor consequat. Phasellus est dolor, semper sed vulputate eu, hendrerit sed neque. Phasellus eu est elit, non rutrum dui.
        </p>
    </div>
   <h2>Heading 2</h2>
        <form>
            <label for="label_1">label 1</label>
            <input id="label_1" type="text" value="Some Text" /><br />
            <label for="label_2">label 2</label>
            <input id="label_2" type="text" value="Some Text"/>
        </form>
        <ol>
            <li>item 1</li>
            <li>item 2</li>
            <li>item 3</li>
        </ol>
        <form>
            <input type="radio" name="radio button" id="radio_button_1" />
            <label for="radio_button_1">Radio button</label>
            <br />
            <input type="radio" name="radio button" id="radio_button_2" checked/>
            <label for="radio_button_2">Selected radio button</label>           
            <br />
            <input type="radio" name="radio button" id="radio_button_3" />
            <label for="radio_button_3">Radio button</label>           
            <br />
        </form>
        <p></p>
        <select>
            <option>Dropdown</option>
            <option>Other Dropdown 1</option>
            <option>Other Dropdown 2</option>
            <option>Other Dropdown 3</option>
        </select>
        <p></p>
        <form action="">
            <input type="checkbox" id="male" />
            <label for="male">male</label>
            <input type="checkbox" id="female" />
            <label for="female">female</label>
            <br />
            <div style="padding-left:58px;"><input type="submit" value="Submit"/></div>
        </form>
 </body>
</html> 

Saturday, September 25, 2010

First Homework Assignment

Hello Amos!

Please see my site map and wire frame images below:





My first post

This is my first post.  I had to create a Blogger account for the NYU Web Intensive class.

Here's my point of view of the class: