-
I’ve alluded before that I did a large chunk of my development in some form of ECMAScript for the first ten years of my professional life. Now, JavaScript is cool again for the first time. Everyone wants to learn it. So, like me, you probably already kinda maybe knew JavaScript. But times have...
-
I’m lazy. I remember reading somewhere that that was a desirable trait to have in a developer. I’m not sure where though, and honestly it’s just too much effort to bingle it. This laziness came to the forefront recently as I was playing with Node. In my last post , I showed you how to spin up a quick...
-
What is Node? The simplest answer, albeit a simplistic answer, is that Node (or Node.js) is JavaScript on the server. Actually, it’s a more than just that, but you can read about the more in other places . This is a good enough answer for us n00bs. Unless you’ve been living in in cave, you might have...
-
Just the other day I had a need to use arguments.callee and I realized that's not something you really see every day in JavaScript. Maybe I could talk about it a bit. Anonymous functions everywhere It's not news to anyone reading this blog that one of JavaScript's workhorses are anonymous...
-
Do you like JavaScript? Have you been looking for a reaon or an idea to learn and start using HTML5? Google Chrome extesions are a great way to get into HTML5 and all its new APIs with bite sized applications. Anatomy of a Chrome Extension A Chrome extesion is nothing more than a tiny website that runs...
-
After a successful first Chicago Code Camp last year, we're back to announce the second edition of this unique technical event. The Chicago Code Camp 2 will happen on May 1 st . In this event we are addressing one obvious and recurring feedback: Make it closer to the city . We're thrilled to...
-
This last week I learned a new thing about jQuery custom events, particularly the ones of global nature. There's good documentation and examples about custom element events, but not much for the global ones. Why do we need custom events? Custom events make it easier to keep complex pages under control...
-
This post is part of a series called the Guided Tours . In this second installment we are still looking inside the jQuery code. Trust me, even if it's hard to digest, you can still learn enough if you focus on a little bit at a time. The code we are interested in today is the following. //from jQuery...
-
This post is part of a series called the Guided Tours . I'm sure I'm not alone when I say that one of the best ways to improve our coding skills is by reading code written by someone else. Sometimes we don't realize how lucky we are to have so much source code at our fingertips, namely Open...
-
Earlier this week I had a piece of JavaScript that I wanted to like this: var index = someArray.indexOf(someObject); The problem there is that the indexOf method of the Array object was introduced in JavaScript 1.6, which isn't implemented in all browsers (actually, IE seems to be the real problem...
-
I want to say thanks to everyone who came out to watch me speak about OpenSocial at the Chicago Alt.NET meeting. Thanks for inviting me to present and for making the time so enjoyable. I’ve posted the slides and the code for the Canvas page here .
-
Last Saturday I had the pleasure to present a JavaScript talk at the Iowa Code Camp . The talk was Stop Programming JavaScript By Luck and it tries to highlight some of the most puzzling differences from your mainstream programming language (read: C#, VB, Java.) I'd like to thank all that came to...
-
In this month's Chicago ALT.NET meeting we will be taking a look at Apache CouchDB . I quote from the official site: Apache CouchDB is a document-oriented database that can be queried and indexed in a MapReduce fashion using JavaScript. CouchDB also offers incremental replication with bi-directional...
-
This post is part of a series called JavaScript Demystified . Answer quick. Do you know what date is being created here? var year = '2009', month = '09', day = '01'; var date = new Date( parseInt(year), parseInt(month), parseInt(day) ); At first glance, it wouldn't surprising...
-
Later this month I'll be attending the Mozilla Add-Ons Meetup in Chicago. I'm continually impressed with the extensibility of Mozilla applications and the amazing things people are doing with it. I'm interested in both the extensibility model and in writing a few custom extensions myself...