JavaScript


Sunday, June 10th, 2007

ECMAScript Edition 4 Reference Implementation

Category: JavaScript

There is a new website, ecmascript-lang.org, created by the ECMAScript group to share information about ES Edition 4, and the first milestone release, which is implemented in ML. You can download the reference interpreter as well as checking out the documentation. Brendan Eich blogged about the release: As Dave notes, this is a “pre-release” in Read the rest…

Posted by Dion Almaer at 12:31 am
2 Comments

+++--
3.7 rating from 24 votes

Friday, June 8th, 2007

Rollmantic: Canvas based movies and panoramas

Category: JavaScript, Library

Jerry Chen has created Rollmantic, a JavaScript + Canvas based libary to handle object movies and panorama web widgets, built using YUI and

Posted by Dion Almaer at 1:37 am
8 Comments

++---
2.4 rating from 29 votes

Thursday, June 7th, 2007

JsLex: Profile your Ajax applications

Category: JavaScript, Utility

JsLex is a tool to profile your Ajax applications: Working on the Apache XAP project and Nexaweb’s Universal Client Framwework, which has a large code base it became apparent that hand injection of profiling code only worked so well. A new technique was needed to make it possible to capture a complete view of the Read the rest…

Posted by Dion Almaer at 8:18 am
7 Comments

++++-
4.2 rating from 24 votes

qooxdoo 0.7 released

Category: JavaScript, Library

Andreas Ecker, and the qooxdoo team have released qooxdoo 0.7, a library that embraces class based OO. There are many new features such as: New elegant class declaration syntax Advanced OO features Java-like interfaces Ruby-esque mixins Full-blown dynamic properties, supporting init values, priorities and inheritance Intuitive theme support for appearances, colors, borders, fonts and icons Read the rest…

Posted by Dion Almaer at 6:29 am
1 Comment

++++-
4.1 rating from 27 votes

GearShift: DB Migration Handling Library

Category: Gears, Google, JavaScript, Library

It is definitely feeling like Google Gears week. We are getting a lot of emails from people with little Gears projects. With the ability to have a local store on clients accessing your web service, you also have the bane of having to deal with your clients having a certain version of that store. One Read the rest…

Posted by Dion Almaer at 5:29 am
2 Comments

+++--
3.3 rating from 7 votes

Wednesday, June 6th, 2007

Experimental WorkerPool API

Category: Gears, Google, JavaScript, Library

Aaron Boodman, of Greasemonkey, and now Google Gears fame, has worked on a new abstraction for the WorkerPool API that Google Gears has. The API is in place to enable you to run JavaScript jobs off of the browser thread. The new abstraction features are: Sets up default error handling for workers Allows workers to Read the rest…

Posted by Dion Almaer at 5:24 am
10 Comments

+++--
3.5 rating from 15 votes

Tuesday, June 5th, 2007

EJS: Embedded JavaScript Client Side Preprocessor

Category: JavaScript, Library

As we develop richer and richer applications in the client-side logic, we inevitably run into the short-coming of HTML inside of JavaScript. Edward Benson has created EJS, a port of Ruby’s Erb to the client side. Example < View plain text > HTML [% var title = "Items to buy!"; %] <h4>[%= title %]</h4> <ul> Read the rest…

Posted by Dion Almaer at 7:54 am
16 Comments

+++--
3.2 rating from 30 votes

Monday, June 4th, 2007

Google Gears DB Abstractions

Category: Gears, Google, JavaScript, Library

I had a feeling that this would happen pretty quickly. The Google Gears APIs are fairly low level, which leaves room for higher level abstractions. I ported an old abstraction over with gears-dblib, which allows me to not repeat myself in a number of areas. I personally prefer working with objects than result sets for Read the rest…

Posted by Dion Almaer at 1:29 am
15 Comments

+++--
3.6 rating from 24 votes

Friday, June 1st, 2007

The Cruiser Parser Library

Category: JavaScript, Library, Prototype

Dan Yoder has recently developed a small (2.5k) JavaScript library for creating top-down recursive descent LLk parsers, Cruiser. Dan uses it himself to parse stylesheets, to support CSS3 selectors. Here is the parser: < View plain text > javascript with ( Parser.Operators ) {   var g = Behaviors.Stylesheet.Grammar;   var t = Behaviors.Stylesheet.Translator;   Read the rest…

Posted by Dion Almaer at 8:36 am
6 Comments

+++--
3.4 rating from 16 votes

Spyjax: Using a:visited to test your history

Category: JavaScript, Security

Spyjax can scare you, or excite you depending on what you want to do. By using a simple JavaScript check on the CSS style on URLs, a script can work out if you have been there: < View plain text > javascript function hasLinkBeenVisited(url) {     var link = document.createElement(‘a’);     link.href = Read the rest…

Posted by Dion Almaer at 1:27 am
17 Comments

+++--
3.8 rating from 37 votes

Wednesday, May 30th, 2007

Javascript LRU Cache

Category: JavaScript, Library

Monsur Hossain has created a simple Javascript LRU Cache: It is loosely based on ASP.NET’s Cache, and includes many caching options such as absolute expiration, sliding expiration, cache priority, and a callback function. It can be used to cache data locally in the user’s browser, saving a server roundtrip in AJAX heavy applications. Usage < Read the rest…

Posted by Dion Almaer at 7:49 am
9 Comments

+++--
3.3 rating from 41 votes

JSVI: You love Vi. You love JavaScript. Now you have both

Category: Fun, JavaScript, Library

From the “we can do it, so we will” department we have JSVI, a JavaScript implementation of vi, in ~3.5k lines of code. (via Dean)

Posted by Dion Almaer at 2:56 am
14 Comments

+++--
3.8 rating from 30 votes

Tuesday, May 29th, 2007

Bitjuice: JavaScript Bitmap API

Category: JavaScript, Library, UI

Our own Michael Mahemoff has been at it again, and this time with a real twist. Michael has packaged Bitjuice, a Javascript API that lets you draw graphics by creating complex HTML tables that are styled. Yup, not Canvas, not SVG, but HTML tables! You can take it for a spin with the interactive scratchpad.

Posted by Dion Almaer at 8:43 am
7 Comments

++---
2.4 rating from 25 votes

Friday, May 25th, 2007

Implementing a syntax-higlighting JavaScript editor in JavaScript

Category: JavaScript, Library, Showcase

Marijn Haverbeke has not only been able to create a syntax-highlighting JavaScript editor in JavaScript, but he has written up the story of the brutal odyssey to the dark side of the DOM tree. The story is a great romp through the never-never-land of JavaScript, DOM, and browser “quirks”. It is well worth a read Read the rest…

Posted by Dion Almaer at 12:40 pm
14 Comments

++++-
4.3 rating from 53 votes

fValidator: Unobtrusive javascript tool for easy handling form validation

Category: JavaScript, Library

Fabio Zendhi Nagao, an applied math student and term Moootols fan, has created fValidator an open source unobtrusive javascript tool for easy handling form validation. You markup your form something like this: < View plain text > HTML <input id="exA_Phone" class="fValidate[’required’,’phone’]" name="phone" type="text" /> And, the framework takes care of the validation. The example will Read the rest…

Posted by Dion Almaer at 10:22 am
19 Comments

++---
2.8 rating from 68 votes

Event.observeMethod: More AOP for JavaScript

Category: JavaScript, Library, Prototype

Christos Constandinou has created Event.observeMethod, a library that gives you a way of adding event listeners to methods in an object and running other methods before, around and/ or after the method you are listening to. The code itself is small, based on Prototype, and only 49 lines (1.8kb), uncompressed. < View plain text > Read the rest…

Posted by Dion Almaer at 8:15 am
11 Comments

+++--
3.6 rating from 23 votes