Showing posts with label homework. Show all posts
Showing posts with label homework. Show all posts

Thursday, November 20, 2008

My RSS Feeds

RSS is now working with both the Blog and the Image Uploader.

Thursday, November 13, 2008

My Blog...

After using blogs so often now, it's kind of neat to make your own.

Mine is located at http://onepotcooking.com/sharonnikfarjam/class8/sharonblog/

It's an eyesore, but I think it's working. It has the logging in and stores usernames with comments and posts.

Things to do:
  • Clean up some stray code leftover from Amos' examples that I used
  • Make it pretty
  • Add some functionality so that users can only edit/delete their own comments and posts

Please feel free to test. Let me know if anything seems off.

Saturday, November 8, 2008

Shocked! It's working!

Beyond all belief, my uploader is working!!! I cannot describe the shock and joy I felt when I finally got something to upload. I seriously did not think it would ever happen.

When I first started thinking about this project, I decided to make mine an uploader for Icon files rather than just photos. I did this because icons files are really small, nice-looking, and I have a ton of them on my computer. Plus, I thought it would be nice to have a theme.

Unfortunately this project was too intimidating to do from scratch and I had to study both Jack and David's pages intensely. I owe a big thanks (and maybe an apology?) to both of them. My pages are a mishmash of both of their coding. I understand it pretty well, but I think there's no way I could have done this without their "help".

The only part I feel really great about is the fact that the navigation actually works and seems to correctly pull 50 images at a time. It's nice to finally figure out something without help. Hopefully, in time, I will be able to create more things like this on my own.

So here's my page. It's called ICONography.

I tried to get the lightbox effect to work, but so far no luck. That's my next goal.

PS - In case anyone actually reads this, I might be late tomorrow morning. I heard the LIRR will have delays because of construction work or something. Ugh.

Friday, October 31, 2008

Client-Side Class Assignments

Here are the links to my class assignments to date:

Class1: My Petshop Wireframe JPG
Class2: HTML Coded Wireframe
Class2: My Petshop (based on Amos' wireframe)
Class3: WEBDEV Directory Page
Class4: Shipping/Billing Form with Javascript
Class5: ECommerce Store with Javascript
Class6: Ecommerce Store - Now with PHP!
Class6: Ecommerce Store - PHP - Page 2

Some notes about the PHP: both pages of my store use the same HTML, CSS, and Javascript. I used PHP includes for nearly everything. Each of the two pages have a few PHP variables set at the top which then flow into the Pagetitle and Breadcrumb sections. I used PHP to make background image change based on the Subcategory. I was tempted to do it with Javascript, but chose PHP instead since the background doesn't really change after it is set. It seemed like the sort of thing PHP would be perfect for.

Also, I tried incorporating Amos' solution for the blinking of the info overlays, but so far no luck. I'll keep at it.

Oh yeah, I should probably cite Jon R.'s fabulous Audio Amazon page as the inspiration for my new background images and transparent center section. Mine is nowhere near as good-looking as his, but hey... imitation is the sincerest form of flattery.

Friday, October 24, 2008

Javascript is Frustrating and Sneaky

Thanks to Jung for mentioning the position:absolute detail. I was working on my page for days (with mostly correct Javascript) and none of the positioning succeeded until I set position:absolute in the CSS.

My final assignment is here.

So the moral of the story is that sometimes the Javascript is just fine and the real problems lie elsewhere.

I sure hope future lessons are learned with less pain involved.

Tuesday, October 14, 2008

Sharon's Billing/Shipping Form

I totally don't get Javascript yet, but I am excellent at making my code match other people's so here is my assignment.

It works, but I really don't understand how or why it works. In order to give myself some more practice, I am trying to add some functionality to validate the form and check for blank fields. Unfortunately, the only thing my formValidate function seems to do is break the otherwise working address-matching function. Argh.

So far no luck, but stay tuned...

Friday, October 10, 2008

Sharon's Class Directory Page



So here's my class directory page...

NYU WEBDEV DIRECTORY

For the life of me, I cannot get it to look exactly the same in Firefox and IE. I have no idea what to do!

[If you are using IE, please move along. Nothing to see here.]

Also, I wish I knew an easy way to make a graphical logo. I had a really hard time making GIMP do anything remotely interesting. It's nice that GIMP was free, but I think I am more comfortable with Photoshop.

Friday, October 3, 2008

The Pet Shop is Open



Hi everyone. Here's the link to my petshop:

http://onepotcooking.com/sharonnikfarjam/class2/petshopv1.html

As Robin my partner said, we chose to use Amos' wireframe layout rather than either of our own. His had more interesting details that we wanted to tackle. We worked on the main layout during class, but it proved to be hard coordinating the other details once class was over so I'm sure Robin's will have different images and such.

Every time I look at the page, I keep getting struck by how it looks exactly like the web circa 1998! It makes me laugh. I guess I should have chosen better graphics to avoid the throwback appearance. I look forward to learning how to make something more modern-looking.