HTML 5 Web Storage is a big deal for any developer with even a hint of JavaScript know-how. It means client-side storage, and client-side storage…
HTML 5 Storage is better, but cookies aren’t gone yet
HTML 5 Storage is a promising addition to the web developers arsenal. However, it's name is confusing to many novices because it implies a connection…
Base 64 encoding the web
There are uses for Base 64 encoding that extend beyond converting binary data to ASCII strings. Base 64 encoding doesn’t require an encryption key and it supported in virtually every language, making it very useful in certain cases.
JavaScript – Passing a single parameter object
It's Saturday and I have things to do on the house, but I wanted to write a short post about function parameters before I put…
Offensive error handling in web development
A typical error handling practice is to wrap a piece of suspect code in a "try" block, and present a warm and fuzzy message in…
Constructing complex SQL queries
As a web programmer, not a day goes by without needing to touch SQL in some form. Some days you're lucky enough to be modeling…
Using barricades for a more robust website
You hear the term robust thrown around loosely. "Hey Bob, that new app is gonna be robust, right?" "Oh yeah Steve, I'm all over that…
JavaScript caching function return values
As web applications get more complex, more and more of the processing work is pushed to the client browser in the form of JavaScript code.…
Drop and give me 20 units: enhancing the numeric (JavaScript)
When your high school gym teacher asked you to "drop and give me 20", did you ever have the guts to ask, "20 what?" Being…
JavaScript Assertions are possible
Assertions are a great development-time debugging tool. They allow us to raise a red flag whenever a condition occurs that should never occur. This is,…