Baylor Rae'

$ cat "baylor rae's thoughts" > index.php

Designing better Checkboxes

December 23, 2011 | Baylor Rae' No Comments

When adding an <input type="(radio|checkbox)"> I recommend wrapping the whole thing in a label. Because it makes the clickable area bigger and allows the user to miss the text and input while getting the desired result. Here’s the basic markup. … Continue reading

Lazy Loading with PHP

December 23, 2011 | Baylor Rae' 1 Comment

I've been looking through a lot of PHP projects on GitHub lately and I keep seeing people including all their classes on launch. And unfortunately it's the reason I decide not to use their code. What is Lazy Loading Lazy … Continue reading

PHP PubSub

December 21, 2011 | Baylor Rae' No Comments

A little over a year ago I read a post on Nettuts+ regarding PubSub with jQuery. The idea is you create (or subscribe to) a collection of functions that are called when you publish an event in your application. It … Continue reading

Prevent DOM Reflow

December 20, 2011 | Baylor Rae' No Comments

Javascript is a really laid back language. You can write a script a hundred different ways and most browsers don’t care. However, as I found out there are consequences for not diligently writing proper code. I turned Chris Coyier’s datalist … Continue reading

Hello world!

December 19, 2011 | Baylor Rae' 1 Comment

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!