Monthly Archives: March 2008
Tips for Programming JavaScript Functions
This article is about my personal coding style, given little tips and tricks that I use to make my code cleaner and more readable.
Required and Optional Arguments
There are generally two styles used when programming a new function in JavaScript. The first, most obvious, and least extensible method is putting each argument as its own [...]
Architecture Choices: Callbacks and Events in JavaScript
Warning: Blog Post written for Beginner and Intermediate JavaScript Developers
Like any well intentioned programmer, you’re writing reusable code in JavaScript. Maybe it’s a simple widget, maybe it’s a higher level plug-in for your favorite JavaScript library. But now you want to provide a mechanism for your friendly neighborhood developer to extend your code [...]
Yet Another Pretty Date JavaScript
I can’t let this Pretty Date thing go. I decided to use a modification of John Resig’s Pretty Date JavaScript implementation written by Dean Landolt and shared in the comments on John’s page. The script was an obvious choice for the next iteration of Alarmd, which is nearing completion as I type.
The more [...]
Minor Annoyances with Firefox Development
When you’re developing web applications in Firefox, do you find yourself constantly clearing your cache? Cache is a useful facet of web browsing for everything but the continuous testing environment of web development. Here’s a nice alternative so that you don’t have to disable your cache entirely:
Use the Firefox Plug-In called (humorously enough) [...]
Specific Inheritance with TIBCO’s General Interface
Sorry about the title, I couldn’t resist.
TIBCO created the General Interface (GI) toolkit for one-page in-browser applications back before I was in my JavaScript diapers. I hadn’t even graduated from high school yet when they were building Rich Internet Applications using some of the most feature crippled browsers in Internet history, back when cross [...]

Subscribe
Follow
Code Like the Big Boys: Flickr