Thursday, June 30th, 2005

Ajaxian Faces Progress Bar

Category: Component, Java

Ed Burns (JavaServer Faces spec lead) has written his first Ajaxian JSF component: A progress bar <d:progressBar id=”progressBar” value=”#{process.percentage}” interval=”1000″ /> It is based on “Greg Murray’s very useful but utterly non-componentized Progress Bar example”. There is also an autocomplete Ajaxian Faces component.

Posted by Dion Almaer at 3:21 pm
4 Comments

+++--
3.6 rating from 55 votes

Pushlets and XHR

Category: Library

The Pushlets team has added Ajax to their HTTP-based publish/subscribe framework. You can check out an example here. In the code they have functions for the various events: function leave() { doRequest(‘/pushlet/pushlet.srv?p_event=leave&p_id=’ + sessionID ); } and then the typical XHR to access the pushlet server side: function doRequest(url) { // Create XMLHttpRequest object and Read the rest…

Posted by Dion Almaer at 2:49 pm
Comment here

+++--
3.7 rating from 13 votes

Code: Try.these(func1, func2, func3)

Category: JavaScript

In the “cool JavaScript snippets” department, we delve into the Prototype library for a nice function which tries to fire and forget through a set of operations. Defining Try.these var Try = { these: function() { var returnValue; for (var i = 0; i < arguments.length; i++) { var lambda = arguments[i]; try { returnValue Read the rest…

Posted by Dion Almaer at 2:42 pm
2 Comments

++++-
4.2 rating from 12 votes

Wednesday, June 29th, 2005

Using CSS selectors to apply Javascript functionality

Category: Articles, JavaScript, Usability

Ben Nolan has written a nice piece called Using CSS selectors to apply Javascript functionality. He looks at Ajaxian showcases, and doesn’t always like the code that is mixed in the HTML. He goes on to explain how to use CSS selectors to abstract this code out, giving you the other benefit of a clean Read the rest…

Posted by Dion Almaer at 3:25 pm
6 Comments

++++-
4.2 rating from 10 votes

Tuesday, June 28th, 2005

Microsoft Atlas: Ajax all along

Category: Library

Microsoft got hit by the Ajax term like everyone else. They have been “doing Ajax” for a long time, as many companies had been, before the Ajax term took off. If you looked at ASP.NET 2.0 (Whidbey) you would have seen Ajax all over the shop. They have components that you can drag and drop Read the rest…

Posted by Dion Almaer at 11:52 am
1 Comment

++++-
4.3 rating from 8 votes

Prototype and DWR: function $()

Category: JavaScript, Prototype

You may have seen $(‘someId’) in some of the JavaScript frameworks out there such as Prototype and DWR. We have had people wonder what kind of magic that is, and it is just a function. The name of that function just happens to be ‘$’, which is totally valid in JS. Prototype, being nice and Read the rest…

Posted by Dion Almaer at 11:41 am
10 Comments

+++--
3.9 rating from 20 votes

Monday, June 27th, 2005

Grokking Prototype-based OO in JavaScript

Category: JavaScript

“JavaScript doesn’t seem very OO”. I hear that a lot. How far from the truth it is though. A lot of us are just trained to think that OO == CLASS BASED OO, which has won out in a lot of popular OO languages of late. JavaScript is fully OO, and arguably more so than Read the rest…

Posted by Dion Almaer at 11:25 am
5 Comments

+++--
3.2 rating from 15 votes

Jazmin and JavaScript Minifier

Category: Utility

A blast from the past here. A lot of people are not aware of Douglas Crawford’s JavaScript Minifier which does what it says on the box: JSMin is a filter which removes comments and unnecessary whitespace from JavaScript files. It typically reduces filesize by half, resulting in faster downloads. It also encourages a more expressive Read the rest…

Posted by Dion Almaer at 11:13 am
2 Comments

++++-
4.1 rating from 8 votes

Friday, June 24th, 2005

Ajaxian Spell Checker 2.2 Update

Category: Examples, Library

Garrison Locke has updated his Ajaxian spell checker with a 2.2 release. A few of the major updates to the spell checker are: Added a Beta wrapper for aspell so you don’t have to have pspell installed. Added a preview mode (with image support) so you can see it even if you don’t have misspellings. Read the rest…

Posted by Dion Almaer at 9:39 am
2 Comments

+----
1.5 rating from 4 votes

del.icio.us direc.tor: An Ajax Web Service Broker

Category: Showcase

Johnvey Hwang has created an alternative UI for del.icio.us that enables you to browse all of your bookmarks in a more interactive fashion. del.icio.us direc.tor uses the XML/XSL features of the browser to handle very large record sets. It works by downloading your entire bookmark file from the API, and managing it in the browser.

Posted by Dion Almaer at 8:48 am
2 Comments

+++--
3.7 rating from 6 votes

JSCalc: When you really want to do math in the browser

Category: Showcase

Today’s Friday item is the JSCalc: the JavaScript calculator bookmarklet. With this bookmarklet you will never have the feeling of: Man, I need to do a quick calculation, but I don’t want to open Calc!

Posted by Dion Almaer at 8:42 am
1 Comment

+++--
3.1 rating from 8 votes

Showcase: Enviro – Swedish Ajaxian Search

Category: Showcase

A swedish search engine, Enviro, which uses Ajaxian techniques. If you search for someone like ‘pettersson’ and the click on a result, you will see an example in action.

Posted by Dion Almaer at 8:37 am
1 Comment

++---
2.8 rating from 5 votes

Thursday, June 23rd, 2005

Google AJAXSLT: Google opens up JavaScript code

Category: JavaScript, Library

The land of Google Code has released a little library used in their Ajaxian applications (such as Google Maps and Suggest). The first piece released is Google AJAXSLT. AJAXSLT is an implementation of XSL-T in JavaScript, intended for use in fat web pages, which are nowadays referred to as AJAX applications. Because XSL-T uses XPath, Read the rest…

Posted by Dion Almaer at 10:53 am
2 Comments

+++--
3.6 rating from 10 votes

script.aculo.us: JavaScript Libraries

Category: JavaScript, Library, Prototype, Ruby

Thomas Fuchs has given birth to: script.aculo.us. (Note to self. Must. Kill. .us domains that make words). script.aculo.us provides you with easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style. script.aculo.us builds on Prototype, and gives you interesting items such as: Visual Effects: The Read the rest…

Posted by Dion Almaer at 12:33 am
2 Comments

++++-
4 rating from 7 votes

Trapping the Tab

Category: Usability

The more I use the new Ajaxified del.icio.us the more I like it. I had a “duh” moment when I realised that you could tab complete tags. This brought up a usability issue. On the web we are trained to think: Tab == Go To Next Field (or element if not in a form) I Read the rest…

Posted by Dion Almaer at 12:20 am
9 Comments

+++--
3 rating from 3 votes

Wednesday, June 22nd, 2005

Showcase: Image Panning and Dragging

Category: Showcase

Michal Migurski has put up a Giant-Ass Image Viewer showcase, which shows how to pan and scan a la Google Maps. This is a draggable, zoomable satellite mosaic of Antarctica that Eric found. (This space used to have a print from Ernst Haeckel’s Kunstformen der Natur, but the current image is 4x larger) Please use Read the rest…

Posted by Dion Almaer at 2:29 pm
2 Comments

+++--
3 rating from 22 votes

All Posts of June 2005