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

The other day I wrote about the jQuery SuperLoad plugin but I couldn't offer any real working sample of an application using it. Today I'm here to rectify that and talk about the new sample code I've recently added to the project repository . Adding products to your shopping cart The application...

An important part of working with jQuery is to create plugins to simplify repetitive tasks. I write jQuery plugins all the time for internal consumption of my applications. Most of them are not of enough general purpose to be shared publicly. Recently I created one that could stand on its own and I chose...

It was my turn to be interviewed by Dave and Larry for The Thirsty Developer podcast. We talked a lot about all things JavaScript, its status, how people learn it (or avoid it), etc. I hope it's an entertaining interview You can download the interview from the podcast page

I finally got around to properly record and publish one of those JavaScript presentations that I have been doing at local users groups. The video and the slide deck are available below. The video And the slide deck. If you prefer, you can download the slide deck .

Here are two user group events that are happening soon and that I'm directly involved. July 8 th , Chicago ALT.NET 0-60 With Fluent NHibernate See the full description of the session over at the Chicago ALT.NET home page. We will have Hudson Akridge tell us all about Fluent NHibernate , a project...

This Wednesday, June 17 th , the Chicago .NET Users Group, CNUG , has invited me to bring my JavaScript presentation to their monthly meeting. Despite of what the event description might lead you to believe, the talk is hardcore JavaScript, not much specific to Ajax at all, although I believe the material...

This post is part of a series called JavaScript Demystified . This particular chapter is further divided in two parts. Read Part 1 . Build your own hierarchy Let's pretend we are building some scripts that deal with musical instruments. We could define our own Guitar class type like this: //The constructor...

This post is part of a series called JavaScript Demystified . This particular chapter is further divided in two parts. Read Part 2 . In a previous installment in this series we saw how we could create constructor functions in JavaScript. Back then I just mentioned that we don't have classes in JavaScript...

As a brief inspection of your RSS reader will quickly tell you, it's Code Camp season. Not to be left out of this party, the developers in the Chicago and Milwaukee areas have a great option this year. The Chicago Code Camp , which happens on May 30th, is strategically located right between these...