Examples


Tuesday, August 1st, 2006

BJAX with Greasemonkey in Firefox and IE

Category: Examples, Firefox, IE

On the heels of my post about BJAX (Browser Extensions plus AJAX), I received a flood of requests asking for an example of how to build such an extension. In response, I’ve put together a Greasemonkey script that demonstrates how to add a simple Ajax widget to a third party web page. The example isn’t Read the rest…

Posted by Dietrich Kappe at 9:07 am
3 Comments

+++--
3.9 rating from 24 votes

Thursday, July 27th, 2006

Ajax and the Spring Framework with TIBCO General Interface

Category: Articles, Examples, Programming, TIBCO

Brian Walsh has written an exceedingly well documented tutorial on combining Spring MVC, XStream and TIBCO GI. The focus is on using GI at the view layer while making only incremental changes to an existing Spring MVC application (the application from the Spring MVC step-by-step tutorial in this case, which you’ll have to step through Read the rest…

Posted by Dietrich Kappe at 2:49 pm
1 Comment

++++-
4.1 rating from 34 votes

Monday, July 10th, 2006

Ajax Activity Indicators Examples

Category: Component, Examples, Prototype

Ian Selby has written a thorough article on ajax activity indicators – make them globel and unobtrusive. Ian details his solution: So, what can we do about these problems? Well, if you’re using prototype as a part of your framework, you can register global indicator functions. These get executed when there are active requests, and Read the rest…

Posted by Dion Almaer at 10:50 am
24 Comments

+++--
3.9 rating from 171 votes

Thursday, June 22nd, 2006

DHTML Goodies Image Slide Show

Category: Examples, JavaScript

DHTML Goodies is a site that has a lot of examples and widgets. The scripts range from menuing and windowing with JavaScript, to drag and drop and Ajax work. A solid resource. The latest script is another Image Slideshow

Posted by Dion Almaer at 1:01 am
4 Comments

++++-
4 rating from 154 votes

Monday, June 12th, 2006

50 Ajax Reference Websites from Around the World

Category: Articles, Examples, Programming

Max Kiesler is back with another great (long) list today – this time, it’s a great look at some of the best Ajax resources from around the world (and no, I’m not just saying that because we’re on it). He’s listed fifty of them, and in more than just English too. As a consistent devotee Read the rest…

Posted by Chris Cornutt at 7:08 am
4 Comments

+++--
3.6 rating from 37 votes

Wednesday, June 7th, 2006

Dojo Widgets: Beyond Hello World

Category: Articles, Dojo, Examples, JavaScript, Toolkit

Brian McCallister started to get a bit deeper into Dojo widgets, and kindly decided to fill us in on his work. In his piece he builds on the new dojo.widget.defineWidget: < View plain text > javascript dojo.widget.defineWidget("skife.sample.CommentPane", dojo.widget.HtmlWidget, {   templatePath: "http://morphy.skife.org/src/dojo-samples/CommentPane.html",   templateCssPath: "http://morphy.skife.org/src/dojo-samples/CommentPane.css",     /* Default Property Values */       Read the rest…

Posted by Dion Almaer at 8:36 am
4 Comments

+++--
3.7 rating from 43 votes

Tuesday, June 6th, 2006

IFrame + Script Tags = Portable Comet

Category: Comet, Examples, IE, Office, XmlHttpRequest

In a recent post, I explain the difficulties of Comet (Streaming/Push) in IE. IE makes it difficult for two reasons: (a) IE’s XMLHttpRequest component doesn’t tell you anything about the response until the connection has closed – even if you try polling it instead of relying on onReadyStateChange, you’ll still get an empty string (Try Read the rest…

Posted by Michael Mahemoff at 4:33 pm
24 Comments

+++--
3.9 rating from 63 votes

Thursday, June 1st, 2006

Ajax Visio Proof-of-Concept

Category: Examples

Long-time Ajax developer Brent Ashley told us about James MacFarlane’s Ajaxio project: The purpose of this experiment is to see if a Visio-type of tool could be developed in a web browser. Using Prototype, script.aculo.us and Water Zorn’s SVG library I managed to hack together a simple demo. It’s not perfect, but it demonstrates that Read the rest…

Posted by Ben Galbraith at 11:43 am
9 Comments

++++-
4.2 rating from 39 votes

Tuesday, May 30th, 2006

Publishing Custom Events in JavaScript

Category: Examples, JavaScript, Library, Yahoo!

Dustin Diaz is at it again, this time discussing “custom events” and how to create and use them. A custom event is an event that you define (e.g. onDrool vs. onBlur). Dustin uses the Yahoo! UI event util library to show off how to play with events: < View plain text > javascript // Define Read the rest…

Posted by Dion Almaer at 7:05 am
9 Comments

+++--
3.9 rating from 32 votes

Wednesday, May 17th, 2006

Dojo HelloWorld Tutorial

Category: Articles, Dojo, Examples, Library

A common complaint issued against Dojo is the lack of quality documentation, particularily as development moves so quickly and old docs become out of date. While there is some work going on to add inline “javadoc” style docs to the code, there is a new HelloWorld article available, written by Lance Duivenbode. It walks through Read the rest…

Posted by Rob Sanheim at 10:30 am
22 Comments

+++--
3.5 rating from 140 votes

Thursday, May 4th, 2006

An AJAX Caching Strategy

Category: Examples, Programming

From the O’Reilly XML.com site today, there’s a new article that looks at the caching of Ajax requests (and the data they provide). Making HTTP requests willy-nilly from AJAX applications, however, is almost never a good idea or design decision. The server side of the equation may not be able to handle the flood of Read the rest…

Posted by Chris Cornutt at 12:30 pm
4 Comments

++---
2.8 rating from 40 votes

Handling Tabs in Textareas

Category: Examples, JavaScript

Over on bitprophet they have a test area for handling tabs in textareas. The usecase for this is if you have an area and you want your users to be able to tab into it to enter text. Normally of course, you get tabbed out to the next form element. This technique shouldn’t be used Read the rest…

Posted by Dion Almaer at 11:01 am
23 Comments

+++--
3.7 rating from 78 votes

Friday, April 28th, 2006

dojo.storage: Offline Access and Permanent, Client-Side Storage

Category: Dojo, Examples

Brad Neuberg has written a very thorough article on Offline Access and Permanent, Client-Side Storage, Thanks to Dojo.Storage. He details his updated dojo.storage work via Moxie, a sample application. What is dojo.storage? Dojo.storage is a unified API to provide JavaScript applications with storage. It is a generic front-end to be able to provide all JavaScript Read the rest…

Posted by Dion Almaer at 10:09 am
13 Comments

+++--
3.7 rating from 47 votes

Thursday, April 27th, 2006

script.aculo.us Reflector

Category: Examples, Prototype, Showcase

We all want cool effects right? I remember when applets came onto the scene, you would see the reflection animations (that would take 30 mins to download over your 28.8 modem). Not Thomas Fuchs has put together a script.aculo.us Reflector that runs on top of Prototype/Scriptaculous (or course). < View plain text > javascript var Read the rest…

Posted by Dion Almaer at 9:31 am
23 Comments

++++-
4 rating from 105 votes

Wednesday, April 12th, 2006

Catching users JavaScript errors in your server logs

Category: Examples

Markku Uttula admitted to coding while drunk and decided to write a little hack that captures JavaScript errors and sends them to his web server log using Ajax. Would you want to do this? Maybe as part of a usability testing framework? Implementation He has one PHP file that does both the error writing, and Read the rest…

Posted by Dion Almaer at 9:19 am
20 Comments

++++-
4.1 rating from 40 votes

Tuesday, April 4th, 2006

ALE: Ajax Linking and Embedding

Category: Articles, Editorial, Examples

Ross Dargahi of Zimbra has chimed in with a a pint of ALE in which he discussed how Ajax can get into the linking and embedding business: AJAX Linking and Embedding (ALE) provides the ability to embed rich content into an editable document and to then interact with and edit that content in much the Read the rest…

Posted by Dion Almaer at 8:53 am
4 Comments

++++-
4.1 rating from 32 votes