Examples


Tuesday, January 17th, 2006

JavaScript Tip: Watch out for “+”

Category: Examples, JavaScript, Tip

Dynamic languages are the cool thing du jour. All dynamic languages are not born equal, and JavaScript is one that happens to be weakly typed. This means that you can keep throwing new types at a variable and JavaScript takes it in its stride. You sometimes get into some problems though, and one of the Read the rest…

Posted by Dion Almaer at 12:21 pm
6 Comments

+++--
3.5 rating from 31 votes

Monday, January 16th, 2006

Quick ajax php function reference

Category: Examples, PHP

Phpfunctions is a quick reference for looking up that php function that you know has to exist, but you just can’t remember the name. Just type in a short string and wait for the live update – then follow the link to the full docs at php.net for more info if needed. Response time seems Read the rest…

Posted by Rob Sanheim at 9:37 am
3 Comments

+++--
3.7 rating from 46 votes

Thursday, January 12th, 2006

Package Mapper – track your shipments on google maps

Category: Examples, Ruby, Showcase

Map out the route your packages take on their way to their destination with Package Mapper. Its built on Ruby on Rails, and you can see use of scriptaculous effects in many spots. It looks pretty close to the single page model Joe described a while ago. From the front page: Package Mapper shows you Read the rest…

Posted by Rob Sanheim at 9:36 am
3 Comments

+++--
3.8 rating from 43 votes

Monday, January 9th, 2006

MeasureMap Flash Slider Released

Category: Component, Examples, Flash

Adaptive Path have kindly released a two bundles of the date slider widget that they use in Measure Map (which we covered in the past). The date slider is a Flash visualization that Measure Map uses as one way to navigate the site. We are happy to provide a version of this date slider to Read the rest…

Posted by Dion Almaer at 1:03 am
2 Comments

+++--
3.6 rating from 12 votes

Using the error codes from XHR calls

Category: Ajax, Editorial, Examples

Over at The Form Assembly they are discussing Treating the HTTP Status code right. The main point of the article is the discussion of trapping various status codes, and doing smart things with them. For example, a smart authentication handler could look something like: switch (req.status) { case 200: // login ok, moving on… break; Read the rest…

Posted by Dion Almaer at 12:42 am
Comment here

+++--
3.8 rating from 36 votes

Thursday, January 5th, 2006

Claw: PHP frameworks get Ajax

Category: Examples, PHP

Claw is one of the latest Ajax PHP frameworks. The latest version of Claw has integrated Prototype. The templates look like this: <html> <head> <title>{$title}</title> {ajax->init} {ajax->autowrap on=false} {tpl->script} {ajax->create_updater item=’time’ to=’ajaxTime’} {ajax->repeat name=’time’ do=$time_updater delay=5} {ajax->create_updater item=’hello’ use_form=’hint_form’ to=’ajaxHello’ claw_is=’ajaxified’} {ajax->create_updater item=’source’ to=’ajaxSource’} {/tpl->script} </head> <body onload=”{$time_repeater}”> <div id=”hello” style=”background-color: #EEEEEE;”> {$message} </div> <form Read the rest…

Posted by Dion Almaer at 3:57 pm
4 Comments

+++--
3.6 rating from 35 votes

Thursday, December 29th, 2005

An Ajax School Project: Customer Order Reporting

Category: Examples

Here’s An Ajax school project that demonstrates Ajax for order tracking. Developer Matt Farley explains: The project is for a senior level programming class at the local state university. The class is called “Web Database Programming” and is geared towards web based database applications. The language/database taught in the class was PHP/MySQL. The extent of Read the rest…

Posted by Michael Mahemoff at 6:15 pm
5 Comments

+++--
3.9 rating from 14 votes

Wednesday, December 21st, 2005

Blockrocker – classifed + google maps mash up

Category: Examples

Blockrocker.com is a classified/Google maps mash up. The search results shown respond to what area of the map you are viewing, with the push pins on the map corresponding to items available in your area. You can also create RSS feeds for selected areas of the map. Do you think this adds much value over Read the rest…

Posted by Rob Sanheim at 9:30 am
5 Comments

+++--
3.3 rating from 6 votes

Monday, December 19th, 2005

Degradable Live Search AHAH

Category: Examples

Daniele Florio has taken AHAH: Asychronous HTML and HTTP and built a simple live search example. The search degrades by having the live search happen on key presses, and getting rid of submit buttons if JavaScript is turned on: <body onload=”javascript:disableSubmit()”> function liveSearch(){ window.setTimeout(“submit(‘liveSearch.php’, ‘GET’)”, 1); } function disableSubmit(){ document.forms[0].invia.style.visibility = “hidden”; }

Posted by Dion Almaer at 10:38 am
7 Comments

++++-
4.3 rating from 23 votes

Thursday, December 15th, 2005

Cold Fusion + Prototype Ajax presentation and example code

Category: Examples, Prototype

Pete Freitag has posted the outline and an example from an Ajax presentation he gave at a Cold Fusion users group. The example is the standard zip code lookup with Cold Fusion on the server and Prototype for the client side. Prototype makes the error handling and form handling easy, as you can see from Read the rest…

Posted by Rob Sanheim at 9:29 am
1 Comment

+++--
3.6 rating from 8 votes

Tuesday, December 13th, 2005

Summing Up the Desktop/Homepages

Category: Examples

We’ve been posting a lot of Ajax Desktop/Homepage/Portal websites lately, so it’s nice to see some perpectives from this new publish.com article by Stephen Bryant: Year in Review: AJAX Desktops and Homepages. I’ve emphasised a few interesting points here. The article begins with the heavyweights: start.com (and live.com): (C)ore features, which are standard among most Read the rest…

Posted by Michael Mahemoff at 2:02 pm
4 Comments

+++--
3.3 rating from 7 votes

Thursday, December 8th, 2005

Issue tracking system with source code

Category: Examples, Showcase

Patrick Ryan had to build an ajaxian issue tracking system for his small team, and it turned out to be nice enough that he decided to share the code with us. :) The platform is PHP/MySql. His three main prorities with the app where: Make it extremely easy to use – zero thought Make it Read the rest…

Posted by Rob Sanheim at 11:19 am
3 Comments

+++--
3.4 rating from 7 votes

Tuesday, December 6th, 2005

Ajax for Tag Input

Category: Examples

Tags are an essential ingredient for any self-respecting web 2.0 company. Until recently, not many websites included tags, so there’s no real UI standard for entering them. 37Signals takes a look at several approaches, including Amazon’s new Ajax technique. Delicious also uses Ajax for tags (covered earlier).

Posted by Michael Mahemoff at 10:20 am
Comment here

+++--
3.4 rating from 7 votes

Monday, December 5th, 2005

xajax tutorial and demos: Ajax with PHP made easy

Category: Articles, Examples, PHP

Marco van Hylckama Vlieg has put together a nice tutorial on the PHP framework xajax. The tutorial walks through the creation of a server-side PHP xajax function, and the magic of the xajaxResponse class. Then things are wrapped up with: $objAjax = new xajax(); $objAjax->registerFunction(‘makeBold’); $objAjax->processRequests(); Resources Demo site of xajax in action

Posted by Dion Almaer at 1:44 am
2 Comments

+++--
3.7 rating from 85 votes

Friday, December 2nd, 2005

Google Yahoo! Challenge: Maps and Mail

Category: Ajax, Examples, Flash, Mapping

Jon Aquino has done a cool demo with Google Maps side by side with Yahoo Maps, with Yahoo’s Ajax and Flash versions. Although this doesn’t really have much practical day-to-day use (especially because you can’t search for an address), its could be valuable for comparing the source code for the three different APIs. Note that Read the rest…

Posted by Michael Mahemoff at 4:51 am
5 Comments

+++--
3.6 rating from 10 votes

Wednesday, November 30th, 2005

Ajaxian Contact Manager Demo

Category: ColdFusion, Examples, Showcase

John Theis has built a demo ajaxian contact manager, using ColdFusionMX and SQL Server. The demo ties Ajax calls to select, insert, update, delete and search, and the widget itself is dragable, and minimizable. The demo comes along with source code for CF heads.

Posted by Dion Almaer at 9:40 am
7 Comments

++++-
4.2 rating from 24 votes