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.
22 Feb 2013
2 Nov 2012
You may be familiar with the problems related to WordPress
wpautop() function. The most notable problem is that your WordPress pages will leave you with empty paragraphs. The empty paragraphs can't be removed by simply removing
<p></p> with a find and replace. It turns out that the result HTML doesn't actually have
<p></p>. But the empty paragrapsh do show up in the DOM tree.
24 May 2012
25 Apr 2012
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.
24 Apr 2012
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.
7 Feb 2012
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.
23 Jan 2012
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:
13 Jan 2012