Thursday, December 4th, 2008


Category: Canvas, JavaScript

Eiten Suez, author of jMatter, has been up to some fun hacking recently. He just released CanvasTurtle a JavaScript and Canvas version of the old favourite TurtlePascal. You can build snow flakes with code like this: < View plain text > javascript function side(size, level) {     if (level==0) {         Read the rest…

Posted by Dion Almaer at 6:15 am

3.7 rating from 21 votes

Wednesday, December 3rd, 2008

Decoupling data and UI layers with PubSub architecture

Category: JavaScript

Marcus Westin (who we featured on finger print) gave a talk at the SF JavaScript meetup on a top that is very interesting: One common issue in my experience are intricate dependencies between the UI and data models. Decoupling these is a huge benefit with respect to maintainability. The PubSub model is a great way Read the rest…

Posted by Dion Almaer at 6:18 am

2.5 rating from 20 votes

A great example of sharing; Sizzle Engine in Dojo Foundation

Category: CSS, Dojo, JavaScript, jQuery, Library, Prototype

Voting has started in Dojo land to take in John Resig’s Sizzle next-gem CSS selector engine. This is incredibly exciting, as it shows how Ajax libraries are working together more and more. Instead of reinventing the wheel in different ways for each project, is it possible to find some core pieces that can be nicely Read the rest…

Posted by Dion Almaer at 12:58 am

4.2 rating from 66 votes

SmartGWT 1.0: Huge open source widget set and more

Category: GWT, JavaScript, Toolkit

You may remember Sanjiv Jivan as the GWT-Ext developer that changed over the debacle. He then went on to start work on a GWT version of SmartClient libraries and has now released SmartGWT 1.0. It is a tour de force of not only a huge widget library, but he explains how it is much more: Read the rest…

Posted by Dion Almaer at 12:52 am

3.6 rating from 89 votes

Tuesday, December 2nd, 2008

Implementing super in JavaScript

Category: JavaScript

Erik Arvidsson seems to be having fun going through exersizes getting JavaScript to do something his way. The latest little foray is Using catch-alls to implement super. Firstly, catch-alls are the ability to use the SpiderMonkey only __noSuchMethod__ meta programming trick. The good news is that this seems to be coming to ECMAScript Harmony (I Read the rest…

Posted by Dion Almaer at 6:43 am
1 Comment

2 rating from 30 votes

Friday, November 28th, 2008

JavaScript Bra Size Calculator

Category: Examples, JavaScript, Showcase

Now this could only fly on a Friday ;) Ed Spencer has coded up a bra size calculator in JavaScript: One of the more mesmerizing websites I’ve worked on recently was for a lingerie boutique in the UK. Aside from the unenviable task of having to look at pictures of women in lingerie all day, Read the rest…

Posted by Dion Almaer at 1:33 pm

3.3 rating from 41 votes

Mouse entering and leaving versus over and out

Category: HTML, JavaScript

Greg Reimer is doing really interesting work with reglib and he now has a neutral post on events and how he favours the pattern of mouse enter / leave to mouse over / out. He shows an example using the pyramid illustrations (as above) and then ends with: The title of this post is a Read the rest…

Posted by Dion Almaer at 1:26 pm

2.8 rating from 27 votes

SproutCore: Mixins and Talk

Category: JavaScript, Library

If you skip in 20 minutes to the presentation above you will find Charles Jolley talking about SproutCore: During this presentation I actually built and deployed a small application on stage but the most interesting thing, I think, is the part where I talk about how thick client frameworks like SproutCore change the way you Read the rest…

Posted by Dion Almaer at 5:07 am
1 Comment

1.9 rating from 13 votes

Wednesday, November 26th, 2008

NetBeans Adds JavaScript 1.7 Support

Category: JavaScript

Dion and I were just talking about NetBeans (Sun’s free Java IDE) with some colleagues the other day. To those in the Java community, just mentioning “NetBeans” can conjure up some of the worst memories of mounting file systems and purple-hued user interfaces. But in reality, today’s NetBeans is a fantastic IDE with a modern-looking Read the rest…

Posted by Ben Galbraith at 8:00 am

4.6 rating from 16 votes

Monday, November 24th, 2008

Interactive iPhone Console using JSCocoa

Category: Debugging, iPhone, JavaScript

KUMAGAI Kentaro has created a JSCocoa based interactive console for the iPhone: I’ve been struggling with transform property of UIView for long time. at last, I’ve decided to create UIMonkey that allows to manipulate the variables by trial and error through HTTP in Javascript with SpiderMonkey. Few days after I’ve started the project, I found Read the rest…

Posted by Dion Almaer at 6:12 am
Comment here

3.2 rating from 9 votes

Friday, November 21st, 2008

Ejacs: Why you would want to a JS runtime in Emacs Lisp

Category: JavaScript

I had to hold this back until Friday, because you will need some time to read Steve Yegge talking about his new project Ejacs: Ejacs is an Ecma-262 compliant JavaScript interpreter written entirely in Emacs Lisp. It should work in GNU Emacs versions 22 and higher. The parser and evaluator are ports of Brendan Eich’s Read the rest…

Posted by Dion Almaer at 9:31 am

3.5 rating from 15 votes

Tuesday, November 18th, 2008

Detect Ajax Framework with WTFramework

Category: JavaScript

Because viewing the source is too bothersome, we now have WTFramework (short for “What The Framework”, obviously), a bookmarklet that will detect and display the Ajax / JavaScript frameworks used in the current website. It does so by checking for loaded JavaScript objects for each framework, not by analyzing the <script> element URIs. Handy.

Posted by Ben Galbraith at 10:00 am

3.4 rating from 24 votes

Reglib and jQuery Demo

Category: JavaScript

We posted on reglib, the new declarative event based library by Greg Reimer. I was a little confused at first, but Greg has posted a follow up which includes a demonstration comparing reglib to jQuery that makes his strategy a lot clearer: Let me first of all stress that I’m not trying to bust on Read the rest…

Posted by Dion Almaer at 6:44 am

3.2 rating from 39 votes

Monday, November 17th, 2008

Trying to be private in JavaScript

Category: JavaScript

Erik Arvidsson has an updated take on instance private, class private, package and friends. One thing that shoots out at you is actually at the end: Gmail was written without any true private members. We just use a naming convention. We love to focus on little geek things like encapsulation, but once again… you can Read the rest…

Posted by Dion Almaer at 9:44 am

2.8 rating from 20 votes

Friday, November 14th, 2008

Guid0: JavaScript GUIDs

Category: JavaScript, Library, Tip

Our own Michael Mahemoff is at it again, creating a simple little GUID generator called Guid0: Guid0 is a GUID library for Javascript. Okay, it doesn’t yet do official, bona fide, 128-bit, GUIDs yet, mainly for API design reasons. But this is a library you might find useful if you want to generate a unique Read the rest…

Posted by Dion Almaer at 6:47 am

3.1 rating from 20 votes

Thursday, November 13th, 2008

Timing in JavaScript and browsers can’t be trusted

Category: JavaScript, Performance

This is officially the week of John. If he delivers top notch posts for the rest of the week he wins an Ajaxian award or something. Maybe we need to bring back the “pack of cards” where each card is an Ajax personality and John gets to be Ace of Hearts or something. I remember Read the rest…

Posted by Dion Almaer at 12:54 am

3.6 rating from 20 votes