Posted on June 14, 2007, 10:27 am, by Dan, under
white belt.
Some of you might know that I have worked with Frank Lamontagne of Ruby Fleebie on a project called Ecstatik!. That was the beginning of something. Now, we are very pleased to announce you our new project : TimmyOnTime. What is TimmyOnTime? TimmyOnTime is a IM-based time management tool. To use it, you only need [...]
Since I have written Ajax and javascript don’t use thread, one of my reader (BK) told me that I was wrong. Here’s the final truth. What I said If javascript runs some code that takes 5 seconds to execute and an ajax response arrives at 2 seconds, it will take 3 seconds before it will [...]
Since the beginning of Ask Dan a javascript question, I received a bunch of questions. Here’s the first one I received. It’s from Andrew Worcester. There seems (to me anyway) to be an overuse of the “new” syntax in libraries. If I create an Ajax object is there a functional benefit to using: “new Ajax.Request(options)” [...]
Since ajax, a lot of people are thinking that asynchrone means “in a separated thread”. They are wrong! Synchronous The XMLHttpRequest object gives you the option to make a synchronous request to a server with the parameter async set to false. It means that when you call the server, all javascript executions will stop and [...]
These days, you can’t write a web application without using one of the billionth javascript library. Two of them stood out of the crowd : prototype and jQuery. I will explain why did I choose jQuery. Prototype Prototype is comfortably installed in a lot of developers mind because of two reasons : it was the [...]
Posted on May 24, 2007, 8:39 am, by Dan, under
white belt.
It always happens : you have some calculation to do with a date and you forget to calculate those friggin’ leap years. Here’s how to do it cleanly. The first way Almost every one use this simple rule : if it’s divisible by 4, it’s a leap year. So the code is var isLeap = [...]
First of all, since I made the front page of Ajaxian, a lot of new readers joined in. Welcome to all of you. I would also take a moment to explain that Javascript Kata is a technical blog about javascript and though I will talk here and there about ajax, it is not focused on [...]
Picture yourself on a beautiful beach on a warm day. The sounds of the waves is music to your hears. You’re on a comfortable chair with a laptop on your knees connected via an incredible WiFi. You’re using a brand new web2.0 application that must be the gratest web site on the web. Then, you [...]
When I began with object-oriented javascript, I always saw a self here and there without fully understanding what it meant. Self? When you see self in some object-oriented javascript, it’s just mean that the developer is using a closure that will reference the current object via a variable named self. Because self is a variable, [...]
Posted on May 10, 2007, 9:02 am, by Dan, under
white belt.
Frank (of Ruby Fleebie) and I have been busy lately. We worked together on a project called Ecstatik! What is Ecstatik!? Ecstatik! is a project that caused Frank and I to be busy lately. But it’s not just that. Ecstatik! is a digg-like for funny stuff. No more than that. We didn’t want to make [...]