February 8, 2009

Trying to Add Sidebar Stuff

I deleted the Wordpress sidebar, but I decided that I did want some stuff there.

A few days ago, I wrote my own mini links dropdown (click Links to see them).

Then I got the code for a weather box from weather.com.

Now I’m trying to scrape the dining menu from HUDS. This is harder than I expected. Damn HUDS, why can’t they set up an RSS feed? So Web 1.0.

editicon Post/View Comments

feedicon Subscribe - RSS Feed



February 7, 2009

Website Update

Filed under: Blog Stuff, Coding, TechnologyTags: , , , , , , , , , , — darrenhe @ 7:30 PM

Didn’t do much today besides the standard bicycle ride, but last night:

  • Converted the static pages to PHP so I could have an easily modifiable header and footer.
  • Made a mobile version of my website, self-hosted except for the Wordpress blog.
  • Changed the fonts on my blog a bit to make it more readable.

I suppose it wasn’t too hard, but all that time put in and the website…looks the same! Backend changes are mainly for personal satisfaction (and a little bit of optimization).

editicon Post/View Comments

feedicon Subscribe - RSS Feed



February 5, 2009

Harvard ‘09 Website Launched

Filed under: Coding, CollegeTags: , , , , , , , , — darrenhe @ 4:47 PM

I’ve been working on this for a while (read: few weeks), and I’m excited that it just got publicly announced (to the Harvard senior class of course).

Here’s the link: http://harvard09.com

editicon Post/View Comments

feedicon Subscribe - RSS Feed



January 26, 2009

Website Done (Basically)

Filed under: CodingTags: , , , , — darrenhe @ 12:20 PM

After finishing a redesign of the website, I decided to transfer my theme to a Joomla! CMS so that other people could easily make changes to the site content. This basically required a reimplementation of everything I had done already. But it also allowed me to take advantage of more advanced components, modules, and plugins that have been designed for Joomla! I unveil it to the senior class committee on Thursday – I hope it find and fix any last remaining bugs before then!

editicon Post/View Comments

feedicon Subscribe - RSS Feed



January 23, 2009

Web Design is Sometimes Painful

Filed under: CodingTags: , , , — darrenhe @ 7:58 PM

I’ve been working on the Harvard senior class website for a few days now, not doing much else besides eating and sleeping. It’s not that websites are terribly difficult to build – writing up a clean CSS is rather easy, once the quirks of Internet Explorer browser compatibility are worked out.

The design, however, is the hard part. Coming up with a sleek, novel design requires a lot of time for me, and I know that I’ve spent hours moving a couple lines around, trying to make the page look good. I spent a lot of time last night making a new theme that I’ve decided not to use. Good learning experience? Perhaps. Waste of time? Sure feels like it.

I went back to my third design for the site, and it’s in my Projects page. I still feel that it’s a little bit off, but I’m not sure what to do. I think I’ll let it stay as is. After all, content is more important than beauty, right?

editicon Post/View Comments

feedicon Subscribe - RSS Feed



October 6, 2008

Wordpress Transfer Complete

Filed under: CodingTags: , — darrenhe @ 2:51 AM

This is my first new post on my hosted wordpress blog. My website is now entirely hosted by dreamhost, including the blog, which was previously a free-hosted wordpress.com blog. The transfer process was pretty simple, and the theme integration was straightforward, since this is the second time I am doing it.

Overall, a success!

editicon Post/View Comments

feedicon Subscribe - RSS Feed



Using divs vs tables

Filed under: CodingTags: , — darrenhe @ 2:25 AM

I’ve been working on some websites lately, and I’ve been pleasantly surprised by how efficient <div /> is compared to <table />. In the example below, my home page condensed from over 80 lines of code to a mere 29. Of course, this was aided by better use of CSS, but I feel that it was easier to use CSS once I had divs in. There are some things that table do better though, and for me it is the vertical-text align. Trying to center align some text vertically involves creating multiple nested divs, alignment of the first inner div to 50% of the outer div, and then alignment of the second inner div to go up 50% of the text! Nonetheless, it’s a sacrifice worth making. See below for before and after screen shots.

Tables

Before: Tables, 80+ lines of code

Divs

After: divs, 29 lines of code

In theory, I suppose I could discount the meta tags to get an even lower line count.

editicon Post/View Comments

feedicon Subscribe - RSS Feed


« Newer Posts