Welcome

Welcome to my blog. Below is a list of links to my favorite blogs and resources. Recent posts are displayed below that.

Click any of the tags at the top right to show recent posts with the tag of that web language.

If you are interested in my work history, check out my Linked-in profile.

Chrome V8 Creators: `with` and `delete` are "Dog Slow"

On a recent podcast the creators of Chrome's V8 JavaScript Engine, Lars Bak and Kasper Lund, discussed some of the challenges of writing a JavaScript compiler. They cautioned that using with or delete is "dog slow". When you use with, V8 has to wait until run time to resolve the scope chain. When you use delete V8 has to transform your object from a highly-optimized class structure into a slower hash table.

Read ›

Database Sessions with CakePHP 1.3 in 1 minute

Enabling database sessions with CakePHP 1.3 is super easy. But first I want to cover a few reasons that I know of where you need sessions stored in the database: load-balanced environments and PHP file-locking issues.

Read ›

I Switched from Windows 7 to OSX Lion

I made the switch from Windows 7 to Mac OSX (Lion) for my development laptop. I got a new job and my boss asked me what kind of laptop I wanted to buy. I heard so many of my friends and bloggers talk about how OSX is the ultimate platform for Web Developers. I decided to take the plunge.

I want to report on my progress. First I'll start with the software I'm using.

Read ›

Before You Use Captcha: Form Protection Tips

I ran into a great post on the PHP devnetwork forums here talking about some tactics to protect your forms without using Captcha.

First is the Honeypot method. The idea is to add a field to the form that bots would likely fill out but that is a hidden element on the form that should remain blank. twindev explains:

Read ›

JavaScript Selector Library Supports CSS4!

I was reading DailyJS and ran across this great JavaScript selector library called Sel.

It can select elements using the very brand new CSS4 features. The following are some examples.

Read ›

Long Text Lines in Webkit

I got a report that a long link was overflowing in Chrome 16 and Safari 5.1:

screenshot

Read ›

Firefox Extensions: Add Button to Nav Bar

The new Add-On SDK for Firefox rocks! It is so easy to create and test using the cfx command line utility.

One thing that is conspicuously absent is the ability to add a button to the navigation toolbar. You know, the toolbar that holds the URL bar and bookmarks button. It took a fair amount of research and trial and error, but it turns out to be a small bit of code.

Read ›

CSS Conditional Rules: Exciting and Scary

This month the W3C came out with a brand new working draft for CSS Conditional Rules (W3C Draft).

Conditional rules are basically @-rules that apply CSS only when certain conditions are met. The most powerful is the @supports condition. You might be able to guess how it works by looking at the example below.

Read ›