Author Archives: admin

Taming Web SQL

web sql tricks

If you’re coming from server-side development, Web SQL might appear to be both limiting and difficult to grasp. You’re used to sending a request to a database server and waiting for the result set before proceeding to the next line … more …

Text to Lips – Put a Face on Speech Synthesis

text to speech

Text to Speech is becoming not only more popular, but easier to implement. Android devices have a built in TTS library and tools like Emscripten are making it easy to port lower-level language utilities to JavaScript, such as TTS libraries. … more …

Mobile development – tiny screen, big headaches

mobile headaches

I've been creating mobile sites on a regular basis for over two years now and I still don't feel like I've gotten it 100% right. With just about every site I wrap up and put a pretty bow on, I … more …

Simplest Facebook Fangate Implementation

When I say simplest, I mean, this really is the poor man's fangate! The entire concept revolves around hiding content via JavaScript or jQuery, then revealing it when Facebook registers a subscribe event. The magic here is the subscribe event … more …

PHP Data Feeds – Export Database to CSV

php to csv

I develop in a few languages, but I use PHP for just about all of my data feeds. I do so because the PHP scripts are portable (most web hosts support PHP) and the code itself is small and easy … more …

Just make the whole thing a link!

link-wrap

Who can be blamed for invalid HTML? The coder who created the markup? The browser that has an "anything goes" mentality to rending HTML? The editor that doesn't flag improper tag usage? Or the specification itself for being to strict? … more …

Optimizing onKeyPress AJAX handlers in JavaScript

ajax-keydown

Not everyone has Google's mega-awesome data center with tens of thousands of servers, servers that allow them to do things like instant live search on-keydown. That's right, onkeydown, not onkeypress or keyup, which are less frequent events. For the majority … more …

HTML 5 Storage is better, but cookies aren’t gone yet

html5-storage-cookies

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 with HTML markup itself. HTML 5 Storage may be part of the HTML 5 specification, … more …

Base 64 encoding the web

base-64-encoding

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. more …

Buttons – the time-saving, bandwidth-reducing, seo-friendlier way

avoid-button-graphics

There are many more reasons to avoid button graphics than to use them. Most effects can be produced using only CSS, and what's even better is that they can be applied to just about any element in your HTML. more …