Library


Tuesday, November 20th, 2007

CacheFile.net: Central JavaScript Library URLs

Category: JavaScript, Library

Jon Davis has created CacheFile, a place to store versions of common libraries such as Dojo, jQuery, Ext, Prototype and more. Dojo has a nice CDN already thanks to AOL, and YUI thanks to Yahoo! The other libraries don’t have the same, so this could be the solution: CacheFile.net is an HTTP web server that Read the rest…

Posted by Dion Almaer at 5:19 am
28 Comments

++++-
4 rating from 25 votes

Monday, November 12th, 2007

Making the OpenSocial API feel more at home

Category: JavaScript, Library, Prototype, Social Networks

Chris Chabot has been doing a lot of experimentation with the new OpenSocial APIs. He has written up his experience and created two prototype wrappers. The first short article has some general information and background. The second article includes the first library you can tell to load (owner, viewer, ownerFriends and/or viewerFriends) information, and presents Read the rest…

Posted by Dion Almaer at 9:10 am
2 Comments

+++--
3.9 rating from 29 votes

Thursday, November 8th, 2007

Isomorphic SmartClient: Now Open Source

Category: Announcements, JavaScript, Library

Isomorphic has made a leap of faith to a new opensource business model today. They have freed up their SmartClient Ajax platform by releasing it under the LGPL license. The piece that has been opensourced “includes the typical set of Ajax UI components that are now available from several vendors, but goes beyond the standard Read the rest…

Posted by Dion Almaer at 1:47 pm
21 Comments

+++--
3.4 rating from 45 votes

Gmail adds Greasemonkey Helper API

Category: Google, Library

We discussed the Gmail facelift (or is it a backlift?) last week. Subtle features have been noticed, and one is particularly cool for expert users. There have always been many Greasemonkey scripts to tweak your Gmail experience. You spend a lot of time in email, so it makes sense that you would want to optimize Read the rest…

Posted by Dion Almaer at 7:07 am
1 Comment

+++--
3.6 rating from 23 votes

Tuesday, October 30th, 2007

Prototip 1.1: Adding more control to your tooltips

Category: JavaScript, Library, Prototype

Nick Stakenburg has rewritten his Prototip to use Prototype 1.6: You can now open, close and toggle tooltips using any mouse event. Keeping your tooltips open adds a new dimension to the library, allowing tooltips to be used in new ways. This release also introduces close buttons, delay and the option to add your own Read the rest…

Posted by Dion Almaer at 6:50 am
12 Comments

+++--
3.9 rating from 33 votes

Monday, October 29th, 2007

GChart: GWT charts without JSNI, plugins, or server round-trips

Category: GWT, Java, JavaScript, Library

John C. Gunther is building a technical computing application that generates all of the data that it charts via client-side computations. He didn’t want to create the charts on the server side, and decided to use GWT to do the work for him. This is how he created GChart. To see it at work, check Read the rest…

Posted by Dion Almaer at 10:51 am
2 Comments

+++--
3.8 rating from 25 votes

Friday, October 26th, 2007

Prototype and jQuery: A code comparison

Category: JavaScript, jQuery, Library, Prototype

Remy Sharp has gone through the jQuery and Prototype frameworks, which are probably the two closest to each other, and has done a side by side comparison of the frameworks by showing you how similar things work on both. The presentation looks into the utility functions, selectors, DOM manipulation, DOM walking, events, Ajax transport, and Read the rest…

Posted by Dion Almaer at 6:06 am
50 Comments

++++-
4 rating from 320 votes

Wednesday, October 24th, 2007

Preventing spam with drag and drop

Category: Examples, JavaScript, Library

I just saw a fun little solution to spam prevention that will truly annoy your users. The drop comment solution uses jQuery and its drag and drop support to require that you move your comment over to the drop zone before the comment is saved. I also recently talked about how Passpack lets you click Read the rest…

Posted by Dion Almaer at 8:52 am
35 Comments

++---
2.9 rating from 56 votes

Tuesday, October 23rd, 2007

FitFlash: Make that rectangle move

Category: Flash, JavaScript, Library, Tip

You have seen the pain when you resize a browser and the Flash rectangle doesn’t move. FitFlash is a smart script that resizes your flash automatically if your browser window size is smaller or greater than your flash minimum desired size keeping it accessible independent of screen resolution. It is trivial to use, you just Read the rest…

Posted by Dion Almaer at 5:04 am
3 Comments

+++--
3.7 rating from 34 votes

Monday, October 22nd, 2007

JSLoader: On Demand JavaScript Libraries

Category: JavaScript, Library

Dov B. Katz has released JSLoader, his open source on-demand JavaScript library. He explained to us: It provides a methodology for organizing JS libraries, and programmatically loading them by simply “asking” for them. Example code: JSLoader.load(“ria”,”ext”,”2.0-beta1”); I developed it as a mechanism to provide hosted Ajax libraries within a large enterprise (zero install, we maintain Read the rest…

Posted by Dion Almaer at 9:25 am
31 Comments

++++-
4.2 rating from 53 votes

Friday, October 19th, 2007

JavaScript Mouse Move Logger

Category: JavaScript, Library

Marcel Oelke has resurrected some code that he wrote to record mouse movement using JavaScript and Ajax. The “movelogger” records the mouse movement a users does on a web site. Just before the user leaves the current page, the recorded data get posted back to the server using Ajax. The cool thing is that you Read the rest…

Posted by Dion Almaer at 11:09 am
19 Comments

+++--
3.2 rating from 20 votes

jQuery Logging

Category: jQuery, Library, Plugins, Tip

Dominic Mitchell has created a mini jQuery logging plugin that ties Firebug to the call chain. This means that if you are debugging something you can quickly add a .log(“….”) in the chain: < View plain text > javascript jQuery.fn.log = function (msg) {       console.log("%s: %o", msg, this);       return Read the rest…

Posted by Dion Almaer at 11:05 am
11 Comments

+++--
3.1 rating from 105 votes

Wednesday, October 17th, 2007

Re-inventing XMLHttpRequest: Cross-browser implementation with sniffing capabilities

Category: Ajax, JavaScript, Library

Sergey Ilinsky has written up an article on an XMLHttpRequest implementation wrapper that provides an equal XHR playground across the various browsers. If you use the wrapper you can fix things like: Internet Explorer: memory leak in XMLHttpRequest Gecko: missing readystatechange calls in synchronous requests Gecko: unnecessary readystatechange DONE when request aborted Gecko: Annoying <parsererror…>…</parsererror> Read the rest…

Posted by Dion Almaer at 8:18 am
7 Comments

+++--
3 rating from 54 votes

Humanized Messages Library

Category: jQuery, Library

Michael Heilemann has created a jQuery plugin, Humanized Messages, that implements Aza Raskins transparent messages pattern: Transparent messages are the brainchild of Jef Raskin. It’s simply a large and translucent message that’s displayed over the contents of your screen. They fade away when the user takes any action (like typing or moving the mouse). In Read the rest…

Posted by Dion Almaer at 2:52 am
14 Comments

++---
2.8 rating from 51 votes

Tuesday, October 16th, 2007

Prototype 1.6.0 RC1: Changes to the Class and Event APIs, Hash rewrite, and bug fixes

Category: JavaScript, Library, Prototype

Sam Stephenson has announced Prototype 1.6.0 RC1 which has “fixed a handful of bugs and made some changes to the Class and Event APIs in response to your feedback. We’ve also addressed a long-standing issue with the Hash class.” For example, they show how they changed from: < View plain text > javascript var Foo Read the rest…

Posted by Dion Almaer at 5:56 pm
9 Comments

++++-
4.1 rating from 34 votes

GroupsWiki and Protoedit

Category: JavaScript, Library, Showcase

Ben Nolan has open sourced GroupsWiki (which we first talked about almost a year ago). GroupsWiki is a visual wiki, and doesn’t require users to learn a special wiki markup. Part of the release is Ben’s editor (tentatively named protoedit) which is a minimalist rich text editor written using Prototype. (The editor is in /javascripts/application.js). Read the rest…

Posted by Dion Almaer at 7:55 am
4 Comments

++---
2.2 rating from 15 votes