Monthly Archives: March 2008

Code Like the Big Boys: Flickr

Code like the Big Boys is a series of posts about code solutions used by major websites. What can we learn from these professional websites to use in our own code? JavaScript Looking at the source code of the Flickr home page is actually pretty strange. For one, there is only one JavaScript source code [...]
Posted in CSS, JavaScript, Reviews | Tagged , |

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 [...]
Posted in JavaScript | Tagged |

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 by [...]
Posted in JavaScript | Tagged , , |

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 I [...]
Posted in JavaScript, Projects | Tagged , |

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) JohnnyCache. [...]
Posted in Web Browsers | Tagged , |

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 [...]
Posted in JavaScript | Tagged , |