As part of the Zentact project I’ve been working on, we were asked to integrate with various webmail clients. This makes it easy to manage your contacts while sending email.
Doing this was a bit of a pain. Since all code is minified, and they all use Javascript events differently, there was a good bit of […]
Continue reading about The HTML structure of webmail interfaces: Gmail, Hotmail, and Yahoo Mail
Did you know that if you’ve got Firebug for Firefox installed, you can use it for debugging your own code? By calling
console.log("Here's a message!");
Firebug will print the message to it’s internal message log. Neat!
Now, that’s all good. But let’s say you’re on a project that’s not using a Javascript preprocessor to minify and strip debugging […]
Continue reading about A Javascript debugging tip for Firebug (or “Stop using alert()!”)
OK, so the title of this post might be a bit overstating.
But, if you work with Javascript and need to use dates/times, you should absolutely check out a JS library for formatted dates and times by Steven Levithan (who is obviously cool; his blog is titled “Flagrant Badassery”).
It’s a library that extends the stock Date […]
Continue reading about Javascript, Dates, Times, and One Man’s Dream
One hugely important thing in coding is debugging. Unfortunately, a lot of Javascript debugging gets done via alert() calls. This gets awkward quickly, with the alerts affecting timing, and just being annoying if you have to dump large amounts of data out.
Firebug is a great development tool, and has a really handy logging interface that […]
I’ve been writing a lot of JS lately, and I wanted to take this opportunity to drop some knowledge right here.
Lots of languages have support for some type of for-each-looping. This is great for looping over associative arrays, and even regular arrays, since it’s a bit cleaner than the standard for-loop. Sadly, Javascript doesn’t totally […]