Archive for January, 2009

Last Week

Posted in General on January 21st, 2009 by Alan – Be the first to comment

This is a little late, but I’ve been busy moving to a new place (smaller, less to clean, cheaper rent). There hasn’t been much progress on much of anything. Once this month is over things should get back to normal.

Thanks for continuing to stop by.

Last Week

Posted in General on January 12th, 2009 by Alan – Be the first to comment

Last week I made some changes that may seem small, but should go a long way in making it easier to understand the code and customize the product…

  • Finalize the use of ISO codes as primary keys for country and language tables. This removes the need to follow integer foreign-keys back to these tables; the ISO code should make it easy to tell which language or country you’re dealing with.
  • Create the concept of a country helper — a class that knows which address fields are necessary for specific country, and how to validate and format them.
  • Make state model work with country helper.
  • Work country helper into single page checkout. Add Canada as a proof of concept.
  • Make databased sessions more robust by registering a shutdown function (register_shutdown_function()) and closing the session in there, rather than in the destructor of our controller class.
  • Rename address fields to work better with international addressing.
  • Simplify and comment flow of logic in single-page checkout code

A Spring, a Board, a Bar, a Trigger

Posted in General on January 7th, 2009 by Alan – Be the first to comment

What I’ve been working on (storefront software) suffers from exactly what Ian is talking about here. Essentially, how do you get noticed when all you’re doing is building a better mouse trap? It’s a battle between sexiness and utility. Boiled down further, it’s like function versus form. Function can keep you happy. Form just gets you riled up.

There are probably very few people excited about having another piece of shopping cart software to choose from. I imagine the most common thought is “aren’t there hundreds of open source shopping carts out there already?”. Yes, there are. But I’m trying to build something better, and I’m starting from a place of experience. Talk to anyone that has customized and deployed any of the existing solutions and you’ll hear a horror story or two. If I effectively serve a market previously overlooked — developers and designers — and the praises outweigh the criticisms, I’ve done my job and can die peacefully.

Last Week

Posted in General on January 5th, 2009 by Alan – Be the first to comment

Holidays are a great time to make progress.

  1. Add Registration and Sign-In functionality to single page checkout
  2. Use ISO codes for language and country primary/foreign keys. Makes it much easier to get around when you’re mucking in the database.
  3. Make dashboard statistics work
  4. Use width in resized image filenames. Allows images for all stores to be pulled from the same location if needed (http://images.storedomain.com/images/), while allowing each store to have its own size for thumbnails/medium/large/etc images.
  5. Populate the database with states, languages and a few countries
  6. Make core controller more aware of databased sessions (must write and close the session before HTTP redirects)
  7. Ability to throttle the number of active sessions in the database, for when I put up an official demo.

I’m happy with the progress, because it means both the storefront and admin areas are getting closer to full usability.

Delete functionality was big on my list, but I’ve not reached a solution I’m comfortable with yet. But that’s for another blog post where I’d love to hear your thoughts on the subject.