Archive for the ‘Javascript’ Category

jQuery development marches on (1.2.6)

Wednesday, June 4th, 2008

jQuery 1.2.6 was released recently, with plenty of bug-fixes and speed improvements. Most notably event handling was sped up 103% and the dimensions plugin was integrated into the framework (the dimensions plugin is an API to calculate elements sizes in a cross-browser and reliable way).

In addition, jQuery UI has recently reached release-candidate status, which means all non minor or trivial issues were solved and it's getting to the point that it will production ready shortly. I have been using its components for a while in anticipation of such release, and hopefully they will have their documentation up soon.

Good times to be jQuery developers :)

PHP functions in Javascript

Thursday, May 29th, 2008

I came across a cute project which implements PHP functions in Javascript (128 functions and counting). If you are one of those PHP developers that feel out of the water in Javascript, this is for you.

Plenty of useful shortcuts there regardless, especially the date functions (which is a major drag in javascript). Check it out.

Not A Number Is A Number

Monday, May 26th, 2008

Not a numberI recently came across an interesting page called 'Types' in the documentation of my favorite Javascript library, jQuery. It is a brief summary of Javascript language properties, and a very good read that reveals many little known quirks that this untraditional language offers.

One thing in particular caught my attention - the type of the NaN (Not A Number) language value, is surprisingly enough, a number. Try it, write a simple script alerting the typeof of NaN:

var isNumber = NaN;
alert(typeof(isNumber)); // Alerts 'number'

Just another thing to keep you on your toes when working with Javascript ;-)

Processing… in Javascript

Saturday, May 17th, 2008

John Resig (of jQuery fame) has released 10 days ago a Javascript implementation of Processing, a Java based visualization language. (more...)

Simple Javascript Cache

Saturday, May 17th, 2008

Javascript CacheModern web-sites and web-application make heavy use of Javascript to improve the user experience. To further improve the user experience, I'd like to propose a simple caching mechanism.
(more...)