E-Commerce
I’ve been spending the day today putting the final touches on a
new version of
title='Hannah Fettig Photography'>Hannah’s website
It’s my first attempt at an e-commerce site. When she does
a job, it will allow her to post the images on the web for her clients
to view and/or order prints of. It works on all browsers (that I’ve
tested), using CSS
for modern browsers, and downgrading gracefully for older ones.
Rather than try
to use an
title='Search FreshMeat.net for open source shopping cart software'> existing shopping cart framework
specifically tailored to the needs of a photographer selling prints
of her photos.
As usual, the details (making the UI friendly, cross-browser issues,
etc) ended up taking up way more of my time than the core
functionality. But now it’s just about done. The site will be going
live later tonight, just as soon as Hannah finishes importing the
first set of images.
Along the way, I wrote a module that provides lightweight wrapper classes for
database tables. It lets you perform common functions (selecting a record
by ID, selecting/deleting records using a set of criteria, adding a new record,
etc) without having to build your own SQL statements. Once I get the projects
section of my site up and running I’ll post it there.