Programming

Wirting your own ORM data layer in PHP

When you begin to move from static pages to more dynamic data driven web pages you realize that storing and retrieving data is one of the most essential parts of web development. If you are anything like me you started working with databases using inline SQL statements and eventually found out that is is not very scalable. In this post I’d like to show how my data layer has evolved over time.
More >

10 Most Common PHP Coding Mistakes

When starting to do serious PHP programming most developer run into the same situations. I wanted to take a moment to point some of the most common ones I’ve seen to help those starting out avoid such problems.
More >

Tango color scheme

When I saw uwstopia’s post on Tango terminal I fell in love with the color scheme right away. Basically it follows the Tango Desktop Project color scheme with a few exceptions. Personally I spend so much time on the terminal that this scheme make it easier on the eyes. But there was one problem I don’t use gnome-terminal, I instead use mrxvt it’s very light weight, support 256 colors and will compile on MAC OS X and Linux. More >

Making Ruby Logging Simple with Log4r

I am in the process of learning Ruby and while browsing the web I found TeensyMud which is a simple MUD server written in Ruby. The thing that caught my eye was how they implemented logging with Log4r. More >

Symfony Open-Source PHP Web Framework

For quite a while now I’ve been doing PHP development and have gone through my own self evolution. I started like any newbie coding PHP inline with my HTML code. This was fine when I did simple sites, one or two pages but as I stared moving along to bigger projects this just didn’t cut it. More >