JavaScript


Thursday, March 15th, 2007

UED – URL Encoded Data

Category: JavaScript, Library, Remoting

UED is a tiny library that takes a hash and converts it into a URL. Instead of passing a JSON string, for example, you could just construct a URL containing the transfer object. Update: I should mention that this is more about the format than the library…UED is a proposal for a standard way to Read the rest…

Posted by Michael Mahemoff at 9:20 am
10 Comments

+++--
3.4 rating from 23 votes

Wednesday, March 14th, 2007

GvaScript

Category: JavaScript, Library

GvaScript (pronounce “gee-vascript”) is a javascript framework born in Geneva, Switzerland (GVA is the IATA code for Geneva Cointrin International Airport). It is built on top of the prototype object-oriented javascript framework (http://prototype.conio.net) and offers a number of extensions and widgets, such as keymap handling, application-specific events, autocompletion on input field, and a tree navigator Read the rest…

Posted by Dion Almaer at 8:41 am
1 Comment

++---
2.5 rating from 33 votes

Monday, March 12th, 2007

Prototype 1.5.1 release candidate released

Category: Announcements, JavaScript, JSON, Prototype

Sam and the team have put out a Prototype 1.5.1 release candidate available to download here. One of the good changes is a sign of good community. Prototype was inspired by the CSS selector performance data that Jack Slocum and others have been talking about. Now $$/Selector is up to 5 times faster depending on Read the rest…

Posted by Dion Almaer at 7:50 am
8 Comments

+++--
3.8 rating from 43 votes

Javascript/CSS Font Detector

Category: CSS, JavaScript, Library

Lalit Patel has created a nice Javascript/CSS font detector: This Javascript code can be used to guess if a particular font is present on the users machine. It uses simple Javascript and some CSS rules to check whether that font is available. This may help desktop-like web application developers when they want to provide different Read the rest…

Posted by Dion Almaer at 12:01 am
25 Comments

++++-
4.1 rating from 90 votes

Friday, March 9th, 2007

JavaScript Native Interface (JSNI) in GWT

Category: Google, GWT, JavaScript, Library

I have recently had quite a few people talking about how they like GWT but with they could get out of the Java box to delve into JavaScript for some low level work. The assumption was that you cannot do this with GWT and that if you run against the abstraction barrier you are hosed. Read the rest…

Posted by Dion Almaer at 10:01 am
11 Comments

+++--
3.7 rating from 44 votes

Thursday, March 8th, 2007

Another way to get around ActiveX silliness

Category: JavaScript, Tip

Eric Anderson has written his own script to get rid of the annoying “Click here to activate” IE now puts on all ActiveX controls (including Flash). There are other solutions such as UFO and SWFObject that we have discussed in the past. if (navigator.appName == “Microsoft Internet Explorer”) (function() { var onload = window.onload || Read the rest…

Posted by Dion Almaer at 6:52 am
16 Comments

+++--
3.3 rating from 29 votes

Future Proofing JavaScript Libraries

Category: Browsers, JavaScript

John Resig has been talking about future proofing JavaScript libraries. He discusses the issue of each browser introducing more bugs (a fix to some is a bug to others!) and shows how Mozilla is trying to help out: At Mozilla, we’ve looked at this issue and Mike Shaver came up with an excellent solution: Simply Read the rest…

Posted by Dion Almaer at 6:02 am
4 Comments

++++-
4 rating from 42 votes

Wednesday, March 7th, 2007

JSJuicer: Slice and Dice those JS files

Category: JavaScript, Utility

jsjuicer is a free tool for safely reducing the size of your JavaScript files. Reducing the size and number of the JavaScript files included in a web page will enable it to load faster. It is available as portable C++ code with a BSD-style licence. Why did Adrian Johnston write another JavaScript obfuscater and minimizer? Read the rest…

Posted by Dion Almaer at 6:06 am
11 Comments

+++--
3.9 rating from 20 votes

Garbage Collection in IE6

Category: Articles, JavaScript, Performance

Daniel Pupius had the unfortunate “cause to do some investigation into the effects of Internet Explorer’s garbage collection routines on performance” and kindly wrote up his findings: Eric Lippert posted about the internals of IE’s garbage collector back in September 2003, though he skimmed over the important bits, which were later noted in the comments. Read the rest…

Posted by Dion Almaer at 1:03 am
14 Comments

+++--
3.8 rating from 38 votes

Friday, March 2nd, 2007

JavaScript Crosswords

Category: Games, JavaScript

Pavel Simakov has created JavaScript Crossword Puzzle system. The sample crossword is on the gang of four software patterns. Doubly fun.

Posted by Dion Almaer at 10:07 am
6 Comments

++++-
4.1 rating from 48 votes

ADLib: Another DHTML Library

Category: JavaScript, Library

Bart Melton has a sense of humour, and came out with ADLib: Another DHTML Library. The highlights are: XHR (of course) Behaviors (custom written, but same principle, so I used the same name) Event management Effects creation engine Hashes Array and string extensions Functions for basic styling (setStyle, addClass etc) Several DOM searching techniques ($, Read the rest…

Posted by Dion Almaer at 6:40 am
3 Comments

+++--
3.4 rating from 30 votes

Thursday, March 1st, 2007

Amiga Emulated in JavaScript

Category: JavaScript

When was the last time that you played Shadow of the Beast? or launched Eyes? Well, the beauty of the internet, and a bunch of time, has enabled an JavaScript emulation engine of the Amiga. That has more “Wow” than Vista.

Posted by Dion Almaer at 12:04 am
17 Comments

++++-
4.3 rating from 52 votes

Wednesday, February 28th, 2007

Amiga Emulated in JavaScript

Category: JavaScript

When was the last time that you played Shadow of the Beast? or launched Eyes? Well, the beauty of the internet, and a bunch of time, has enabled an JavaScript emulation engine of the Amiga. That has more “Wow” than Vista.

Posted by Dion Almaer at 11:54 pm
Comment here

+++--
3.8 rating from 4 votes

Open Source JSON Tag Library Released

Category: JavaScript, JSON, Library

James Wiltshire and his team at ATG have created and released a JSP tag library that is used to render JSON data from within JSP code. They use JSON as our data format of choice for all AJAX applications being written at ATG, and they use this library extensively to render the JSON. This allows Read the rest…

Posted by Dion Almaer at 7:20 am
7 Comments

+++--
3.5 rating from 43 votes

Tuesday, February 27th, 2007

Ext 1.0 for jQuery Approaches

Category: JavaScript, jQuery, Sencha, Yahoo!

Jack Slocum has an early preview release of Ext which shows the decoupling allowing either jQuery or YUI as a core library choice. It is getting very close, and now they just need to nail down items such as getting animations working just right in the jQuery version. Both teams are working together to finish Read the rest…

Posted by Dion Almaer at 8:58 am
8 Comments

++++-
4.4 rating from 43 votes

Currying in JavaScript

Category: JavaScript, Library

Dustin Diaz has a nice entry on currying in JavaScript a technique used often in languages such as LISP, Perl, and many others. Dustin’s curry implementation: function curry (fn, scope) { var scope = scope || window; var args = []; for (var i=2, len = arguments.length; i < len; ++i) { args.push(arguments[i]); }; return Read the rest…

Posted by Dion Almaer at 6:51 am
9 Comments

+++--
3.9 rating from 15 votes