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