From the monthly archives:

November 2009

Extra! Extra! iMac Wins Seal of Approval

by doug on November 23, 2009

in Editorial

The new iMac, just arrived from Shanghai, wins the approval of the family Pug.

  If you know Pugs, you know that he was checking to see if the box was edible.

{ 1 comment }

Extreme bootstrapping. We’ve perfected it. Read about the hard-working YourVersion cohort in Silicon Valley’s new sport: extreme bootstrapping at MercuryNews.com

Extreme Bookstrapping MercuryNews.com

Notice that Chris has achieved spartan ergonomic perfection by propping his MacBook Pro on a precisely engineered tower of programming books.

{ 0 comments }

A New Addition to the Family

by doug on November 17, 2009

in Editorial

A blessed event, folks. After years of trying and years of taking the cheap way out, the Gods have blessed our little family with a wonderful new addition—a new Precious from China, by way of 1 Infinite Loop Cupertino California. Yes, you know what I’m talking about. It’s my new baby coming all the way from around the world to brighten my life and make me a better person. Yes, my new iMac is on the way, or “IN TRANSIT”, as the FEDEX Tracking site tells me.

I’ve made the all the appropriate prepartions for my baby’s arrival. I’ve cleaned out the spare room. Rearranged the furniture to assure that it will be comfortable. I’ve even put a pretty whiteboard on the wall to keep track of my baby’s Important Dates.

Oh, you want to know my baby’s name? Well, all of my babies are named after French writers. This new baby will be named Collette.

Oh, you wanted to see a picture? Golly, thanks for asking. I don’t have a picture of little Collette yet, but I do have a picture of her new toy, her sweet little remote control. If her smallest toy is this gorgeous, just imagine how beautiful she will be!

Gosh, I’m so happy to be a new Dad.

Happy hacking…

{ 1 comment }

A Ruby-PHP Hybrid Framework — MojoMVC

by doug on November 11, 2009

in PHP

Like everyone else, I’ve created an MVC framework (MojoMVC). Depending on the circumstances, I sometimes do it in PHP and sometimes in Ruby. Since this is a light weight site, I don’t think it really matters much which language I choose. Of course, Ruby has a sweeter syntax. And PHP has a ton of convenience. Both work fine.

One of the design principles I favor is that my sites be able to land on the feet and run without outside help. PHP has SQLite3 embedded in it and suits my purposes. If I use Ruby, I need to know that SQLite3 is installed. This has been a problem on the CCSF servers, where HP-UX makes everyone miserable.

I know that SQLite can’t handle big-time traffic, but I’m fine with that. I’m a low traffic guy. When the day comes that I’m getting a 1,000,000 hits a day, I’ll add in support for PostgreSQL.

The Model component of MojoMVC uses my home-rolled ORM class, SQLiteActiveRecord. This may sound weird to non-programmers, but I really love the idea of the ActiveRecord class for my projects. A simple RESTful interface is fine for me. And I’m not building Twitter or Wikipedia, so I’m not the least bit concerned with speed.

When I get a Round Tuit, I’ll start posting some of the code I’ve written. In the meantime, I’ll continue to share my software tools with my PHP classes at CCSF.

{ 0 comments }