Wednesday, November 21st, 2007

Wikipedia Offline with GearsMonkey

Category: Articles, Gears, Google, Offline, Showcase

Working on the Gears team we also run across applications that we would love to take offline. A lot of these applications aren’t Google’s so we thought it would be nice to be able to take third party apps offline. This also makes sense since Aaron Boodman (Mr. Greasemonkey) is co-tech lead on Gears itself! Read the rest…

Posted by Dion Almaer at 9:24 am

3.4 rating from 269 votes

Tuesday, November 20th, 2007

How To Build A Read/Write JavaScript API

Category: Articles, JavaScript

Rakesh Pai has written up a piece on

Posted by Dion Almaer at 8:46 am

2.3 rating from 66 votes

Wednesday, November 14th, 2007

Dissecting Dijit: Dojo Widgets

Category: Articles, Component, Dojo

One of the best parts of Dojo 1.0 has been how often the team has been blogging of all things. It has been great! Mike Wilcox has posted about Dijit, the widget platform for Dojo 1.0. His piece covers dojo.parser, dojo.declare, the widget markup, the lifecycle of widgets, and more. Great stuff. The lifecycle is Read the rest…

Posted by Dion Almaer at 11:17 am
Comment here

3 rating from 62 votes

Friday, November 9th, 2007

Pseudo-custom events in Prototype 1.6

Category: Articles, Examples, JavaScript, Prototype

Andrew Dupont has written a tutorial on how to normalize proprietary browser events using Prototype’s new custom events feature. The piece is interesting as it talks about how the Prototype core team originally went down the wrong path trying to boil the ocean with great features that were a bit too much. And then: we Read the rest…

Posted by Dion Almaer at 11:35 am

4 rating from 48 votes

Monday, November 5th, 2007

URI Comparison Functions

Category: Articles, IE

It is nice to see a post on IEBlog that isn’t about ES4 ;) Dave Risney provides just that as he details the perils of comparing URIs, a common cause for security exploits and errors in general. Investigating URI parsing related issues in various products, I’ve run across many instances of code erroneously attempting to Read the rest…

Posted by Dion Almaer at 7:30 am

2.6 rating from 11 votes

Wednesday, October 31st, 2007

Transitioning from Java Classes to JavaScript Prototypes

Category: Articles, Examples, JavaScript

To class or not to class, that has been a question than many developers have faced as they came from class based OO worlds into the Prototype Oriented world of JavaScript. Much pain has endured for those that try to contort it. Peter Michaux has detailed transitioning from Java Classes to JavaScript prototypes by looking Read the rest…

Posted by Dion Almaer at 8:40 am
1 Comment

3.2 rating from 22 votes

Monday, October 22nd, 2007

Ajax Javascript Galleries, Slideshows and Effects Redux

Category: Ajax, Articles, UI

Max Kiesler has been doing some nice roundup posts recently. He just published Ajax Javascript Galleries, Slideshows and Effects Redux, a piece that goes through a large group of libraries and apps that show off image related functionality. He ends up discussing: e2 AJAX Gallery FrogJS Javascript Gallery Highslide JonDesign’s SmoothGallery 2.0 LightWindow v2.0 Pyxy Read the rest…

Posted by Dion Almaer at 6:30 am

3.9 rating from 343 votes

Wednesday, October 17th, 2007

Dealing with the Flexibility of JavaScript

Category: Articles, JavaScript

Neil Roberts has written a piece on Dealing with the Flexibility of JavaScript which delves into functions that are overloaded based on signature. For example: < View plain text > javascript connect = function(/*…*/){   if(arguments.length == 1){     var ao = arguments[0];   }else{     var ao = interpolateArgs(arguments, true);   } Read the rest…

Posted by Dion Almaer at 7:47 am

2.3 rating from 33 votes

Thursday, October 11th, 2007

Inheritance is evil, and must be destroyed: part 1

Category: Articles

When we wrote about Bernard Sumption’s Animator.js there was a lot of “interest” in Bernies position that OO inheritance sucks. Bernie decided to fuel the fire and expanded his thoughts, explaining how the strategy pattern is in fact your saviour ;) All of the pain caused by inheritance can be traced back to the fact Read the rest…

Posted by Dion Almaer at 10:10 am

3.2 rating from 36 votes

Friday, October 5th, 2007

Load Balancing in your Ajax code

Category: Articles

Lei Zhu developed a Flash site called Voxlite that allows you to send video messages to people. The application uses both Amazon S3 and EC2, and Lei decided to do load balancing between instances on the client side itself. He wrote up his thoughts on Client Side Load Balancing for Web 2.0 Applications, and wants Read the rest…

Posted by Dion Almaer at 6:15 am

3.2 rating from 47 votes

Thursday, October 4th, 2007

A simple guide to using Firebug

Category: Articles, Utility

Phil Rees has written up a nice introduction to Firebug, showing us how you can use Firebug to: Inspect custom stylesheets included by Google Mashup Editor Modify in-memory stylesheets to see the changes reflected immediately Place watches and breakpoints into running JavaScript Execute arbitrary JavaScript in the context of your running application Monitor Ajax calls, Read the rest…

Posted by Dion Almaer at 5:49 am
Comment here

3.8 rating from 38 votes

Monday, September 17th, 2007

Douglas Crockford’s Elements of JavaScript Style

Category: Articles, JavaScript

Douglas Crockford micro-blogged it best: I have been at Yahoo for two years. One of the first things I did when I got there was to do a View Source of the front page. That gave me a lot of visibility into how things were done. I also saw some things to improve. That inspired Read the rest…

Posted by Dion Almaer at 7:54 am

3.8 rating from 37 votes

Thursday, September 6th, 2007

Web Developers, Where Are We Now?

Category: Articles, Browsers

Alex Russell isn’t known for holding back his opinions. He continues his tradition of calling issues to our attention in his piece on Where are we now?. This article takes a look back to his posting, 1.5 years ago, on the state of things at that point…. and what he would like to see. He Read the rest…

Posted by Dion Almaer at 10:16 am

1.1363636363633E+197 rating from 176 votes

Wednesday, September 5th, 2007

Gears Case Study: What we learned from Remember The Milk

Category: Articles, Gears, Google, Offline, Showcase

As I posted on the Google Gears Blog: Omar Kilani of Remember The Milk took the time to write up his teams experience in Taking web applications offline with Google Gears. The article moves past an introduction to delve into the design decisions around an offline-capable architecture, and user messaging and presentation of state. We Read the rest…

Posted by Dion Almaer at 9:15 am

4.2 rating from 20 votes

Friday, August 31st, 2007

TrimPath Junction: A walk through

Category: Articles, Gears, JavaScript

Jack Herrington and Steve Yen have put together a nice little article introducing TrimPath Junction: Junction is an all JavaScript framework that closely models the Ruby on Rails model-view-controller design pattern and implementation. And with the help of the Helma JavaScript web server, it runs the same code both on the client and on the Read the rest…

Posted by Dion Almaer at 5:45 am

4.2 rating from 10 votes

Wednesday, August 15th, 2007

Lazy Function Definition Pattern

Category: Articles, JavaScript

Peter Michaux has written about the Lazy Function Definition Pattern. His article takes you down the path of implementing a simple problem: Write a function foo that returns a Date object that holds the time that foo was first called. After critiquing 3 iterations he ends up with: < View plain text > javascript var Read the rest…

Posted by Dion Almaer at 7:08 am

2.7 rating from 64 votes