Friday, November 10th, 2006

JavaScript Particle Engine

Category: Fun, JavaScript, Library

For some Friday fun, Jason Harwig likes to write a particle engine in the programming languages that he learns and uses. His latest is in JavaScript and is configurable for you to explode all around you :)

Posted by Dion Almaer at 10:20 am

3.2 rating from 16 votes

Wednesday, November 8th, 2006

Dojo Charting Engine Released

Category: Component, Dojo, JavaScript, Library

The Dojo Toolkit keeps adding packages (thankfully they have package management too!). Today, “Greenplum and SitePen announced the contribution of the new Charting engine to the Dojo Toolkit. Originally designed as the foundation for the Greenplum Monitor–a browser-based database monitoring application to be released later this year–the Charting engine is a cross-browser way of creating Read the rest…

Posted by Dion Almaer at 10:28 am

4 rating from 172 votes

MochiKit.Animator: New Animation in MochiKit

Category: JavaScript, Library

“MochiKit.Animator is an enhanced*, fully vectorized version of Bernard Sumption’s animator.js. It eschews the use of classes and instead uses composition to build complex effects in one or two lines of code. The idea is to have everything work “right”. This means not having to specify start values, maximum efficiency during playback, and clean, automatic Read the rest…

Posted by Dion Almaer at 4:38 am

4.1 rating from 30 votes

Sunday, November 5th, 2006

moo.fx 2.0: a whole new mooing

Category: JavaScript, Library, UI

A new moo.fx has been released, version 2.0. You can get a couple of versions of moo.fx: moo.fx for mootools and moof.fx for Prototype (note how it groks the anchor to open that div). What’s New in moo.fx 2 moo.fx2 Introduces a lot of new stuff: beginning with Fx.Style, to modify any chosen CSS property, Read the rest…

Posted by Dion Almaer at 1:58 am

4.2 rating from 49 votes

Thursday, November 2nd, 2006

Amberjack: JavaScript Site Tour Creator

Category: JavaScript, Utility

Arash Yalpani has released Amberjack, a tiny and Open Source/GPLed JavaScript library you can use to create nice looking tours for a web site. There is a tour wizard to make it simple to create your own tours, and a JSON technique is used to post-fetch skins. Checkout a sample tour to see it in Read the rest…

Posted by Dion Almaer at 10:46 am

4 rating from 39 votes

Tuesday, October 31st, 2006

Performance of FF2 vs. IE 7

Category: Browsers, Firefox, JavaScript

The folks at Zimbra posted on the performance of IE7 vs. IE6 last week. This week they cracked open their test suite on FF2, the full release. Conclusion I think the net result is that for highly JavaScript intensive AJAX applications such as the ZWC, Firefox is still the winner by quite a wide margin. Read the rest…

Posted by Dion Almaer at 4:34 am
Comment here

4 rating from 20 votes

Monday, October 23rd, 2006

Clorox – Shared Memory Abstraction for AJAX Applications

Category: Framework, JavaScript

Take a step back and squint and you’ll see that Ajax, with it’s ability to pass structured data back and forth between client and server, can be used to implement just about any architecture or abstraction that involves communication between execution environments. The only things getting in the way are the platform and performance limitations Read the rest…

Posted by Dietrich Kappe at 6:00 am

4 rating from 18 votes

Sunday, October 22nd, 2006

Specifying ECMAScript 4 via ML

Category: JavaScript

Brendan Eich has mentioned that ECMAScript Edition 4 will be specified in ML. Dave Herman says: One of the immediate benefits of this approach will be that our definition will also serve as a reference implementation. LtUers will of course recognize this as the approach of “definitional interpreters”. Our initial intention was to write a Read the rest…

Posted by Dion Almaer at 12:50 am

3.7 rating from 9 votes

Friday, October 20th, 2006

Prototype based JavaScript tooltip

Category: JavaScript, Library, Prototype

JavaScript Tooltip libraries number about as many as rounded CSS corner libraries. Jonathan Weiss thought the ones he saw were “too complicated and bloated, did just too much and most of the time were still not flexible enough with the tooltip. So I decided to create my own library that is based on prototype.js”. It Read the rest…

Posted by Dion Almaer at 10:21 am

3.9 rating from 292 votes

YUI BorderLayout: Rich cross browser layouts

Category: JavaScript, Library, Sencha, UI, Yahoo!

Jack Slocum has been Exploring Cross-browser Web 2.0 Layouts with Yahoo! UI. After realising that almost every desktop application and many of these new web interfaces all start with a common layout, he decided to create a reusable layout manager called BorderLayout in JavaScript. His requirements were: Must be cross-browser – JavaScript errors and inconsistency Read the rest…

Posted by Dion Almaer at 8:27 am

4.4 rating from 38 votes

Wednesday, October 18th, 2006

Graft: Making Javascript DOM a Piece of Cake

Category: JavaScript, Library

schadenfreude has been frustrated by DOM, and and decided to make Javascript DOM a Piece of Cake with the graft() Function, This comes from Sean Burke and his Higher Order JavaScript book. Graft enables code such as this: < View plain text > javascript graft(     document.getElementById("mycontentdiv"),     ["table",         Read the rest…

Posted by Dion Almaer at 10:32 am

2.9 rating from 36 votes

Benchmark: DOM vs. innerHTML

Category: JavaScript, Performance

Gleb Lebedev has gotten into the fun benchmark game. He created a benchmark of DOM vs. innerHTML testing on FF 1.5, IE 6, and Opera 9. His example was building the Google page entirely using the DOM or innerHTML as seen in code here. The results show that innerHTML is king for all browsers:

Posted by Dion Almaer at 8:42 am

3.5 rating from 43 votes

YUI: Setting the record on library file size

Category: JavaScript, Library, Yahoo!

Eric Miraglia has written a detailed post on YUI: Weighing in on Pageweights, that discusses the “file size” issue of JavaScript libraries: When we opened up the YUI Library in February, we talked about some of our motivations for creating an entirely new JavaScript toolkit. One of those motivations, we said, was that Yahoo!’s diverse Read the rest…

Posted by Dion Almaer at 7:19 am

4 rating from 21 votes

Monday, October 16th, 2006

RJS API for Java and GWT

Category: Java, JavaScript

Jacob Hookom has liked what he has seen with RJS within Rails, so pondered a RJS like API for GWT and Java. He then created a ClientWriter that would generate the JavaScript from the Java code. E.g. in Java: < View plain text > java // private UIInput nameInput; public void setNameInput(UIInput input) { Read the rest…

Posted by Dion Almaer at 9:23 am
1 Comment

3.2 rating from 24 votes

Friday, October 13th, 2006

Flapjax: Functional JavaScript

Category: JavaScript, Library

Flapjax is a new programming language designed around the demands of modern, client-based Web applications. It sits on top of JavaScript, and you run the special syntax through a compiler. You end up writing template code such as this example from the tutorial on setting up style based on behaviour: < View plain text > Read the rest…

Posted by Dion Almaer at 11:21 am

3.4 rating from 29 votes

Thursday, October 12th, 2006

Mootools Accordian Tutorial

Category: Examples, JavaScript, Library

Isn’t it fun to see students doing projects with Ajax? Jonathan Molina just finished his final project which was to: use a framework and show it being used as well as giving an example of how it can be used in a real life scenario. I used Mootools for the frameworks just because it looks Read the rest…

Posted by Dion Almaer at 12:11 pm

3.6 rating from 69 votes