Two Feet Of Snow


Looks like we got two feet of snow this week.

Bulletproof Web Design

Bulletproof Web Design -- Improving flexibility and protecting against worst-case scenarios with XHTML and CSS by Dan Cederholm

Let me start off by saying I'm a programmer, not a designer. Before reading Bulletproof Web Design, I had a basic understanding of just enough CSS structure and concepts to get by. This approach lead to very inefficient markup that was hard to read and maintain. What I was missing was a deeper understanding as to when to use the different constructs and why. I found this and much more in this book.

Dan Cederholm used a brilliant format in Bulletproof Web Design. Each chapter takes a single concept illustrated by an example site that employees a traditional "unbulletproof" approach and explains the pitfalls of the traditional methods. He then deconstructs the page and rebuilds it step-by-step using semantic XHTML and CSS. The books step-by-step approach of modifying only a couple lines of CSS and explaining the results make the book a quick, yet informative read.

The book starts by explaining why and how to design your site for flexible text sizes. He uses this as the driving point for the rest of the book. How to make your navigation, tables, tabs, lists, widget boxes, rounded corners, and layouts flexible. How to design your site to be valuable to users who either can not or choose not to use images and / or style sheets. The book ends with the step-by-step approach of creating a page that ties every concept together.

Reading the book has made me feel much more confident in my CSS usage. I have already seen the payoff as I have used the methodologies in the book to both design new widgets and to refactor existing code. I feel lucky to have stumbled upon it and am looking forward to reading his sequel book, Handcrafted CSS -- More Bulletproof Web Design.

ActiveRecord object caching in Ruby on Rails

Yesterday I started playing with basic caching for PriceChirp and tried what I thought would be easy. Boy was I wrong. It turns out what I was attempting to do is not supported by :memory_store in the development environment. Before moving to :mem_cache_store, I was able to find a work around. The work around is outlined below for those who do not have the option of using memcached. However, if you can use memcached, it is by far the better route to take.

My goal was to cut down on the number of database hit by caching the resultant ActiveRecord object in :memory_store.

A Peaceful Pet Grand Opening


A Peaceful Pet is a new concept in the art of animal love. Owner, Sandy Stutz, is a visual artist, National Certified Master Groomer, and a meditation teacher. She brings all of this under one roof. A unique concept in business, a grooming salon for cats and small dogs combined with a boutique, also featuring a gallery of original, environmentally friendly artwork related to animals. Please join me as well as the artists, Deborah Bright and STUTZ, during our reception and grand opening. Refreshments will be served.

Edgar The Wild Cat

edgar

A very nice lady from Arizona found me through FaceBook and decided to hire me to do a pet portrait to give her parents as a Christmas present. She was very excited when she saw the finished piece. She said that she appreciated how I captured the hungry, menacing look in his eyes. Edgar was found as a stray and he resembles a bobcat. Edgar makes a beautiful model for a pet portrait.

DrupalCamp Austin 2009

I had a great time this weekend at DrupalCamp Austin, 2009. DrupalCamp was a "Barcamp" styled meetup with a strong emphases on Drupal. At the camp I was introduced to Drush. Drush is the Drupal Shell and provides tools for managing your Drupal projects with shell scripts. I can see great use for Drush at the office to help quickly create new Drupal sites in a standardized fashion. It can also be used to run maintenance scripts.

Other topics included Panels 3, Drupal SEO, and JQuery UI being added to Drupal 7 core. The improvements to Panels in Panels 3 are significant. The prevailing wisdom at the conference was that Panels 3 will replace blocks for most cases.

During the keynote talk, they performed a basic DISC personality assessment on everyone at the camp. The test performed was way over simplified (two questions) and the results over generalized. It was interesting seeing how people reacted to the test. One result that was curious is while about 75% of the attendees consider themselves to be introverts, the conference had their happy hour at a karaoke bar. That did not seem well thought out. Then again, several of us stayed their until 2 in the morning.

Overall, the camp was fun. I met a lot of good people. And I hope to go to another camp soon.

Holiday Cards

I have updated my cafepress site with my original watercolor paintings, which make beautiful holiday gifts as the images on holiday cards, t-shirts, tote bags, coffee mugs, magnets and buttons. The "Reaching for Mistletoe" painting is one of the most popular images for this holiday season.

PriceChirp has improved wishlist support


This week I improved the Amazon wishlist support in PriceChirp. One of the cool features of PriceChirp from the beginning has been how easy it is to import an Amazon wishlist into PriceChirp. The only problem with this feature is it was an all or nothing proposition. Now, we have the ability to view our wishlists in PriceChirp and select which items we wish to import. The old feature of importing everything is still thee, but now we have options.

To see this feature in action, log into your PriceChirp account and do a wishlist search. This is done by searching for the email address associated to your Amazon wishlist. Once your wishlists are displayed, you can select "view wishlist" to get a listing of your items. From this page you can easily select which item to import into your personalized tracker.

Have fun!

PriceChirp tracks prices on Internationial Amazon sites


PriceChirp is growing. This week I added support to allow people to track prices and be alerted of changes for all the international Amazon sites. This includes Amazon US, Canada, France, Germany, Japan, and the UK. Just select the location of Amazon you are interested in searching, and use PriceChirp like normal. It was designed to make it easy to manage products from multiple sites at once. I'm hoping this design decision will pay off if in the future I add more vendors to PriceChirp.

Upgradeing from Drupal 5.20 to 6.14

Today I upgraded from Drupal 5.20 to 6.14. I've been dreading the upgrade to the Drupal 6.x series for almost 9 months because I had no idea how hard it would be or what I would lose in the migration.

The instructions on the Drupal site are fine, but they didn't prepare me for what would be different.

  • Back everything up
  • Deselect all non-core modules
  • Select a core template
  • Move the old Drupal version out of the way
  • Install the new version of Drupal
  • Copy your /files and /sites directory from the old installation to the new installation
  • Copy other misc files like your robots.txt to the new installation
  • Fix the /sites/default/settings.php
  • Run the update script -- Pray

If all has gone well, you have an upgraded core. Now for the tedious part. Start upgrading each module one at a time, running your update script between each one.

After upgrading every module that had a Drupal 6.x version, here is what I lost:

Syndicate content