Friday, October 26th, 2007

Running CPU Intensive JavaScript Computations in a Web Browser

Category: Gears, JavaScript

Julien Lecomte has written up the pattern where you use setTimeout() to keep yielding control back to the main thread so that it can handle browser events. Completion Callback < View plain text > javascript function doSomething (callbackFn [, additional arguments]) {     // Initialize a few things here…     (function () { Read the rest…

Posted by Dion Almaer at 7:21 am

4.3 rating from 71 votes

Prototype and jQuery: A code comparison

Category: JavaScript, jQuery, Library, Prototype

Remy Sharp has gone through the jQuery and Prototype frameworks, which are probably the two closest to each other, and has done a side by side comparison of the frameworks by showing you how similar things work on both. The presentation looks into the utility functions, selectors, DOM manipulation, DOM walking, events, Ajax transport, and Read the rest…

Posted by Dion Almaer at 6:06 am

4 rating from 320 votes

Thursday, October 25th, 2007

WebRunner Style Customizations

Category: Offline

The WebRunner team has added the ability to add style to your application. Mark Fingle said it well: One new feature we added to WebRunner is web application styling or theming. You can drop a “webapp.css” file in the bundle and it will be applied to the hosted web application. You can also use platform-specific Read the rest…

Posted by Dion Almaer at 9:19 am

2.6 rating from 40 votes

Designing the perfect Tree

Category: Component, UI

Glen Lipka has been thinking about Trees. He looked around for patterns for building them, and couldn’t find anything. Then he looked at examples such as the Ext Tree component and ended up writing up his dream tree: Hover.  This is a problem with Vista as well.  If it’s clickable, then it should afford clicking.  Read the rest…

Posted by Dion Almaer at 8:27 am

2.5 rating from 119 votes

Upgrading to Prototype 1.6: A practical example, RadiantCMS

Category: Examples, Prototype

Mislav Marohnić has taken RadiantCMS and upgraded the Ajax pieces to Prototype 1.6. He has all of the changes in one place and has detailed all of the changes he made. This is a great way to learn about what is new in Prototype 1.6. Here are a few of the before/afters: < View plain Read the rest…

Posted by Dion Almaer at 8:12 am
Comment here

3.8 rating from 38 votes

Web 2.0 Design Patterns Book

Category: Editorial

Duane Nickull, Dion Hinchcliffe, James Governor have a new book on Web 2.0 Design Patterns which mixes in the Enterprise with the funky Web 2.0 crowd. James and Duane have a little chat about what the book is about and the tension between the enterprise world and the simple Web.

Posted by Dion Almaer at 4:54 am

1.9 rating from 65 votes

Wednesday, October 24th, 2007

Ajax Experience Tutorial Sessions

Category: Conferences, The Ajax Experience

Today is the official start of the Ajax Experience East, but we did something a bit different this time around. Some people asked us to level set a little, so we put out some tutorial sessions a day before. Marc Grabanski was at the tutorial sessions and he wrote up a nice synopsis of the Read the rest…

Posted by Dion Almaer at 1:14 pm

3 rating from 28 votes

Preventing spam with drag and drop

Category: Examples, JavaScript, Library

I just saw a fun little solution to spam prevention that will truly annoy your users. The drop comment solution uses jQuery and its drag and drop support to require that you move your comment over to the drop zone before the comment is saved. I also recently talked about how Passpack lets you click Read the rest…

Posted by Dion Almaer at 8:52 am

2.9 rating from 56 votes

HTML5 Wrapper for Gears Database Component

Category: Gears, HTML

Dimitri Glazkov took a look at the HTML 5 SQL Storage API which WebKit just implemented and put together a Gears wrapper. As an example he has Stickies running on Firefox with Gears. The bridge is very simple indeed. Just take a peek at the code. The major note here is that the current draft Read the rest…

Posted by Dion Almaer at 8:49 am

3 rating from 19 votes

Meebo’s Firefox Plugin

Category: Browsers

Meebo recently released a Firefox add-on to allow them to do a little bit more in their IM product than they could in just a web page. There seems to be another land-grab for add-on space. We have talked about Me.dium, which has a plugin to make surfing more social, and many examples. How many Read the rest…

Posted by Dion Almaer at 7:19 am

2.2 rating from 43 votes

SomeTests: Take an Ajax quiz with an Ajax app

Category: GWT, Showcase

SomeTests is a new GWT application written by Mike D’Amour that lets you create tests and quiz your friends. Will Gorman sent us his Ajax libraries quiz, and Mike’s own GWT test.

Posted by Dion Almaer at 6:44 am

4 rating from 43 votes

Tuesday, October 23rd, 2007

Really Simple History 0.6 Beta Announced

Category: Announcements, Framework

My colleague Brian Dillard is just putting the finishing touches on the 0.6 beta release of Really Simple History (RSH). What’s new and improved? I’ve tried to be as ambitious as possible with this release: full support of IE7/Win, Safari/Win, Safari/Mac, Opera/Win, Opera/Mac. I’ve didn’t quite get there, but I got close. Features in the Read the rest…

Posted by Dietrich Kappe at 2:08 pm

3.3 rating from 34 votes

MRI: CSS Selector Inpage Tester

Category: CSS, Utility

John Allsopp, who authored XRAY, has a new tool for us to play with. MRI is a bookmarklet that fires up a tool allowing you to query items on the page using CSS selectors. As you put in your queries you will see the items on the page that match. You can also click on Read the rest…

Posted by Dion Almaer at 7:32 am

4 rating from 27 votes

JDA Mashup Editor

Category: JavaScript, Showcase, Utility

Peter Svensson has written a Web-based mashup editor JDA Composer. The Composer uses JDA itself, and lets you build blocks using Blueprints. You can take it for a drive, or watch the screencast. Features Visual design of page/gadget UI Basic styling in place (colors, fonts, background images) Using openJacobs draw2d graph library for UI creation Read the rest…

Posted by Dion Almaer at 7:09 am

1.6 rating from 85 votes

FitFlash: Make that rectangle move

Category: Flash, JavaScript, Library, Tip

You have seen the pain when you resize a browser and the Flash rectangle doesn’t move. FitFlash is a smart script that resizes your flash automatically if your browser window size is smaller or greater than your flash minimum desired size keeping it accessible independent of screen resolution. It is trivial to use, you just Read the rest…

Posted by Dion Almaer at 5:04 am

3.7 rating from 34 votes

ECMAScript 4 Language Overview Final Draft

Category: JavaScript

The final draft for the language overview of ECMAScript 4 has been released. This is not the spec itself, but the starter overview document. The fourth edition of the ECMAScript language (ES4) represents a significant evolution of the third edition language (ES3), which Ecma approved as the standard ECMA-262 in 1999. ES4 is compatible with Read the rest…

Posted by Dion Almaer at 12:01 am

4.5 rating from 51 votes

All Posts of October 2007