✓ I'm available for hire! Check out my open source work on Github or drop me an email

Douglas F Shearer

Posts Tagged with website

There are 2 matching posts.

September 5th 2007

Add your comment

2007 EUCC Site

Followers of this blog will know that I’m a devoted (I go to the pub EVERY week) Alumni member of the Edinburgh University Cycling Club. At the last AGM I took on the role of webmaster. And did nothing. Until yesterday!

The Brief

  • A simple design that gets information across in a clear manner.
  • A gallery to show people rides and social events.
  • Easy maintenance.

Preparation

The reason it took me so long to get round to building a site, was that Edinburgh University Computing Services weren’t willing to give me a MySQL database, so that ruled out Wordpress.

What’s up so far?

Yesterday I made a simple un-styled page to display all the information regarding upcoming events (especially Freshers Week) and regular rides.

I then styled this with a very basic style, which quickly grew into something a little more advanced. It even has my favourite style of navigation and orientation; tabs!

At the moment there is no login for updating content, mostly due to the lack of a database. I hope to solve this by building a Rails REST app running on my own servers, queried by PHP when edits are in progress.

The Gallery

Once I had the basic style done, the next thing people were asking for was a gallery. Instead of uploading images to the University servers, I decided to make use of Flickr and their APIs to power the gallery.

The advantages of this are obvious:

  • Many of our members already have a Flickr account with lots of club photos in.
  • Flickr already has a mature and advanced photo administration interface.
  • Everyone can add photos!

So a Flickr Group and a quick bit of PHP to query the API had it up and running!

A bit more PHP added paginations and a few other niceties. This was the first time I had done any PHP in a few months, but despite this, the only real issue I had was remembering to put semi-colons at the end of every line.

Obviously, this was a good time for Flickr to have an rare outage. Nothing to do with me.

So there you go, head over and check it out.

 
 

April 12th 2007

1 comment

2007 AT&T Williams Website Live

It’s live! This has been a while coming (for us devs at least) but finally it’s here! Check it out at www.attwilliams.com, or read on for some more technical jargon.

The backend of the site is Ruby on Rails, running a MySQL database. The press-only site is an xhtml affair powered by rails, whereas the public consumer site has a flash front end fed via RSS feeds from the backend.

Why not use Flash remoting? This was considered at the start, but on the launch of the first portion of the site, the servers had to deal with 16,000 hits an hour for the first 72hours, and flash remoting would criple even a reasonably large cluster. Using RSS lets us generate the files when new content is added, and cache them so they only need to be server by a web server. Pretty neat.

I’m pretty proud of this, it’s been hard work and involved some late nights, but the end result has been worth it. Well done to all the team! They’re all chugging beers, but I’ve got to race later on, so I’m sticking to tea for the moment.

I’ll have more to say technically in the coming weeks, and we have some other features that will be added in the near future, some very interesting from a rails aspect.

Credits

  • Justin Fanning
  • Radha Stirling
  • Max Haggenmiller
  • Eddie Bosticco
  • Jason Griffiths

Rails:

Flash:

  • Tim Cooper
  • Matt Folkard

HTML:

  • Ben Millar