Monday, June 11, 2007

Updated site, new email gateway

Eva's design work is up now at http://guide.BuyLocalCA.org/ and it looks rather nice I think. This is the next version of the site, which I've been working with for a couple years, which formerly looked pretty much like http://www.BuyLocalPA.org/ (designed by Design for Social Impact). NacreData's role in the new CA site, aside from hosting and getting the existing database to display information in the new design, was the integration of Google Maps into the search display. What do you think? I went with the "bounding coordinates" method for the zip code search -- calculate the lat/long coordinates corresponding to the bounding points of map X miles from the center of the chosen zip code and search the database for lat/long values falling within those bounds. This was quicker than comparing the distance of every listing in the database.

I also set up a new email gateway, OpenBSD 4.1 / Postfix to handle the primary flow from the National Campaign for Sustainable Agriculture. The qmail server on the web server machine was getting inundated and the old machine serving as secondary was failing, so time to upgrade. Seems to be working fine, though it seems such a shame for a nice fast machine to spend 99% of its time refusing emails sent to non-existent email address...

No comments: