Library


Thursday, June 25th, 2009

JavaScript sandbox using Web Workers

Category: JavaScript, Library

We have been sandboxing JavaScript in iframes for a long time. The Web Worker API has the nice property that it doesn’t have access to objects like document and the like, and just runs code that you can pass over to it. With this, Elijah Grey has created an experimental jsandbox API that gives you Read the rest…

Posted by Dion Almaer at 6:17 am
5 Comments

+++--
3.1 rating from 24 votes

Monday, June 15th, 2009

Bing API does callback checking for JSON-P

Category: JavaScript, JSON, Library

I just looked through the API of Microsoft’s new Bing search and found an interesting step in protecting code from throwing errors. When you provide a JSON output for developers it does make sense to also allow for a callback parameter. That way your code can be used in script nodes without having to use Read the rest…

Posted by Chris Heilmann at 6:32 am
19 Comments

++---
2.3 rating from 33 votes

Friday, June 12th, 2009

InfoVis Toolkit 1.1

Category: JavaScript, Library

Nicolas Garcia Belmonte has updated InfoViz with version 1.1. The JavaScript InfoVis Toolkit provides tools for creating Interactive Data Visualizations for the Web. The code has been updated: The library has been split into modules for code reuse. All visualizations are packaged in the same file. You can create multiple instances of any visualization. Moreover, Read the rest…

Posted by Dion Almaer at 5:34 am
4 Comments

++++-
4.3 rating from 31 votes

Monday, June 8th, 2009

GeoFill – find users by IP or lookup and prefill forms for them

Category: Library, Yahoo!

One thing that annoys me is that in the days of geolocation and location recognition I still have to enter my country and city in forms over and over again. This is especially annoying when you like in the UK which could be anywhere in these wonderful large dropdowns (UK, England, Great Britain, United Kingdom, Read the rest…

Posted by Chris Heilmann at 5:03 am
1 Comment

+++--
3.5 rating from 20 votes

Friday, June 5th, 2009

Moousture: mouse gesture library

Category: JavaScript, Library, MooTools

Zohaib Sibt-e-Hassan has created a Mootools based mouse gesture library Moousture that is based on simplicity: A probe, which probes the pointing device. Currently there is a Moousture.MouseProbe (P.S. I am planning to test it on iPhone and build any seprate probe for that). A monitor, which tests the stability of probed device on given intervals Read the rest…

Posted by Dion Almaer at 6:56 am
10 Comments

+++--
3.8 rating from 30 votes

Friday, May 15th, 2009

A peek under the hood of YUI3 – Satyen Desai on library architecture

Category: Framework, Library, Yahoo!

Talks about JavaScript are not a rare occasion any more, everybody has something to say about this wonderfully versatile language. Douglas Crockford taught us a lot about the language itself, John Resig and Peter Paul Koch taught us how browsers deal (and fail dealing) with it and there are dozens of screencasts of how to Read the rest…

Posted by Chris Heilmann at 5:41 pm
4 Comments

++++-
4.5 rating from 41 votes

Monday, May 4th, 2009

Rico 3.0 now runs on multiple libraries; LiveGrid with a jQuery theme for example?

Category: JavaScript, Library

Ah Rico. It was a big shot when Ajax jumped on the scene and Bill Scott was lashing up the accordion landscape. Now time has moved on, and Bill keeps feeding us with usability goodness, but what about Rico? Well, Matt Brown is now on the case and has an early preview of Rico 3.0 Read the rest…

Posted by Dion Almaer at 7:04 am
2 Comments

+++--
3.9 rating from 29 votes

Monday, April 27th, 2009

CiteDrag: Cool library that groks the new drag and drop model

Category: HTML, JavaScript, Library

Elijah Grey has a very cool new script CiteDrag that “adds automatically citation (ie. blockquotes, text quotes, ect.) to any dragged content off of the website which is using the script. CiteDrag requires no additional setup other than include the script somewhere on your website.” I just dragged that above text from my blog post Read the rest…

Posted by Dion Almaer at 8:21 am
5 Comments

++---
2.7 rating from 10 votes

Thursday, April 23rd, 2009

myPatterns: XPath / RegEx for JS Objects

Category: JavaScript, Library

Nic Volanschi pointed us to myPatterns: myPatterns is a new library adding custom notations for data structures in JS (and also C). It’s really useful for writing elegant programs using general pattern matching. To explain myPatterns, let’s introduce a standard JavaScript object: < View plain text > js {   name: { firstname: "John", lastname: Read the rest…

Posted by Ben Galbraith at 8:00 am
5 Comments

++---
2.6 rating from 38 votes

Tuesday, April 21st, 2009

Browsing on the Couch

Category: Database, JavaScript, JSON, Library

Atul Varma, a fantastic colleague in Building “S” at Mozilla, has been playing with a JavaScript implementation of CouchDB called BrowserCouch: BrowserCouch is an attempt at an in-browser MapReduce implementation. It’s written entirely in JavaScript and intended to work on all browsers, gracefully upgrading when support for better efficiency or feature set is detected. Not Read the rest…

Posted by Dion Almaer at 6:34 am
1 Comment

+++--
3.8 rating from 22 votes

Friday, April 17th, 2009

Thumbnails.js: Screenshots via Page Glimpse

Category: JavaScript, Library

Eric Ferraiuolo, inspired by the deprecation notice of Alexa, wrote a webpage thumbnails JavaScript library that lets you grab web page thumbnails via Page Glimpse: < View plain text > javascript var container = document.getElementById(‘container’),     thumbs = Thumbnails({ devkey:’xxx’ });   thumbs.get(‘http://google.com’, append); thumbs.get([     ‘http://eric.ferraiuolo.name/’,     ‘http://925html.com’,     ‘http://oddnut.com’ Read the rest…

Posted by Dion Almaer at 4:03 am
1 Comment

++---
2.9 rating from 31 votes

Thursday, April 9th, 2009

Safari-style Candybars for Everyone

Category: Canvas, JavaScript, Library, UI

Christian Effenberger wrote in with another impressive piece of work: Gauge.js 1.0 allows you to add programmable gauges (with shading and reflection) to your webpages. It uses unobtrusive javascript to keep your code clean. It works in all the major browsers – Mozilla Firefox 1.5+, Opera 9+, IE6+ and Safari. On older browsers, it’ll degrade Read the rest…

Posted by Ben Galbraith at 7:00 am
5 Comments

+++--
3.9 rating from 45 votes

jQuery Glow

Category: JavaScript, jQuery, Library

< View plain text > javascript $(document).ready(function() {       $(‘.white’).addGlow({ textColor: ‘white’, haloColor: ‘#aaa’, radius: 100 });       $(‘.blue’).addGlow({ textColor: ‘#00f’, haloColor: ‘#00f’, radius: 100 });       $(‘.green’).addGlow({ textColor: ‘#0f0’, haloColor: ‘#0f0’, radius: 100 });       $(‘.red’).addGlow({ textColor: ‘#f00’, haloColor: ‘#f00’, radius: 100 });       Read the rest…

Posted by Dion Almaer at 5:57 am
17 Comments

++---
2.5 rating from 109 votes

Wednesday, April 1st, 2009

Building a triple click

Category: JavaScript, Library

Brandon Aaron has a nice article on building a special event for triple clicking on an element using jQuery. To illustrate the API I’m going to create a new event type called “tripleclick”. To be fired it will require the user click the element three times. If we were to make this a typical jQuery Read the rest…

Posted by Dion Almaer at 3:19 am
8 Comments

++---
2.9 rating from 40 votes

Tuesday, March 31st, 2009

TaskSpeed: More benchmarks for the libraries and browsers

Category: Library, Performance

I didn’t want the TaskSpeed library task test suite to be lost in the Dojo 1.3 announcement. Alex called it out: Pete Higgins has been working on a new set of benchmarks with the help of other toolkit vendors (to ensure fairness) called “TaskSpeed“. Dojo 1.3 wins by a wide margin. Across all the reported Read the rest…

Posted by Dion Almaer at 12:07 pm
29 Comments

+++--
3.9 rating from 54 votes

Monday, March 30th, 2009

Prototype 1.6.1 RC2: IE 8 Here we come

Category: JavaScript, Library, Prototype

Andrew has posted on Prototype 1.6.1 RC 2, a new release that “is fully compatible — and fully optimized for — Internet Explorer 8’s “super-standards” mode. In particular, Prototype now takes advantage of IE8’s support of the Selectors API and its ability to extend the prototypes of DOM elements.” New Features Full compatibility with Internet Read the rest…

Posted by Dion Almaer at 12:15 am
1 Comment

+++--
3.8 rating from 49 votes