The 'Beer Me!' Forum
September 02, 2010, 02:11:47 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: NEW POLL: Disband this Forum?
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: "Beer Me!", version 3.0  (Read 5304 times)
rstueven
Administrator
Sr. Member
*****
Offline Offline

Posts: 412



View Profile WWW
« on: August 07, 2007, 01:51:33 PM »

Very soon this week — maybe even later today — the new version of beerme.com will go live. Cosmetically, it's not a whole lot different, but it's damn near revolutionary in the way it works, and it will be much easier for me to maintain.

Some history:

  • Version 0 was the list of breweries that I put online back in 1990 or so. It was a simple text file that ftp (and later, Lynx and Mosaic) users could view to find breweries in northern California.
  • Version 1 came out around 1994 and contained my beer tasting notes. I also started listing lots more breweries with help from correspondents from around the world. I still typed in each individual file's HTML by hand.
  • Version 2 in 1996 represented a major technological leap for the site. I loaded all the data into Microsoft Access and wrote Visual Basic routines to generate the HTML pages, which I would then ftp up to the server. Around this same time, Pat and Mark from Real Beer contacted me about hosting my site. "Beer Me!" has been a part of Real Beer ever since. The site underwent a few cosmetic changes over the years, which I'll arbitrarily call 2.0.1 (1997), 2.0.2 (2000), 2.0.3 (2002, when the name changed to beerme.com), 2.1.0 (2003), 2.1.1 (2004), and 2.1.2 (2006).
  • Version 3 looks superficially a lot like 2.1.2, but behind the scenes, the HTML will be generated by PHP and a MySQL database residing on Real Beer's server. No more uploading files and trying to keep everything in sync; the data on the pages will change as soon as I enter the updates in the database. No more worrying about losing my laptop nor wrecking the hard drive where all the data has been kept.

The new code is just about ready to go; I've got a fairly short list of tweaks that I'll be working on. You can give it a test drive at beerme.com/index.php. Please let me know about any problems you find or suggestions you have!

  • beerlist.php: list possible "orderBy" values in a switch
  • nearby.php: pretty up the Google Maps
  • nearby.php: should sort by distance, not name
  • brewery.php: if a beer has a LiquidSolutions number, add it to the "Place" link
  • liquidSolutions.php: is kinda ugly
  • Unicode characters aren't sorted properly (e.g. brewery.php?3379 beer list)...
  • ...and sometimes aren't displayed right. (Å in brewerylist.php)
  • map.php: print a message like "starting Google Earth"
  • map.php: Unicode characters are not displayed right.
  • brewerylist.php: isn't really "huge" after all
  • senderror.php: "Region" is given as a number instead of text
  • bestBrewery.php: MySQL 3.23 doesn't support subqueries, so the main SELECT statement needs major work
  • get rid of all the die() statements; replace with custom error handling
  • brewery.php: beermats aren't being displayed (e.g. 3401)
  • make an email form to hide the brewery addresses
  • region.php: don't show administrativearea.comments if there's no administrativearea (see 162)

have fun
RDS
« Last Edit: August 12, 2007, 01:41:15 PM by rstueven » Logged

Richard Stueven, Brewer-at-Large
Omaha, Nebraska
Beer Me!
The "Beer Me!" Blog
Breweries On The Web
rstueven
Administrator
Sr. Member
*****
Offline Offline

Posts: 412



View Profile WWW
« Reply #1 on: August 12, 2007, 10:35:41 PM »

The new version of beerme.com went live Saturday morning! I've been tracking down and fixing the links I broke, along with a bunch that were broken in the old version. Give it a try, and if you find any problems, please let me know either by leaving a comment on the blog, posting a reply here on the forum, or using the comments form on the site.

I've got user-submitted brewery updates stacked up back to July 27, so the next big task is to get caught up with those.

have fun
RDS
Logged

Richard Stueven, Brewer-at-Large
Omaha, Nebraska
Beer Me!
The "Beer Me!" Blog
Breweries On The Web
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!