Rob Gonda's Blog

CFQuickDocs updated

The CFQuickDocs site was updated today. The only noticeable change is that now there's a single search box, combining tags and functions. If you need to search for a tag, you must include the CF prefix.

Here's my next request: add back, forward, and bookmarking support. I know bookmarking is already there by copying the 'link to this page' href, but modifying the URL state using the # hash would be much nicer. (I will try to release soon a new AjaxCFC/jQuery branch with built-in support for this).

Nevertheless, me, and my entire team use this site on a daily basis, so thanks a lot for it.

Impressive video - Apollo in action

This video is amazing! Mike Chambers and Christian Cantrell demo a few apps written in Apollo. Apollo for those of you who're new to it, it's going to be the bridge between desktop and internet applications; it allows running native Flash and HTML in your desktop, interactive with all native components.. and it works with PCs and Macs.

The demos show for example a chromeless Window running Google maps (html), with a left menu Flash overlay that scans your system for vCards, then if you drag and drop them into Google maps, Flex will analyze the vCard and use the API to tell Google maps to display the address of the contact, shows a photo... it's pretty impressive.

2.5h Ajax Presentation Marathon

Check out my 2h 17mins Ajax presentation recording. I presented Ajax in various flavors to the Scottish CFUG last week and I promised to post the slides and files.

You may check out the Adobe Connect Presentation, download the slides, and download the source code. Code includes examples for ajaxcfc, dojo, jquery, prototype, spry, and well as hand-coded XmlHttpRequest objects. AjaxCFC examples also include some using the Model-Glue and MachII frameworks, not included with this download.
Everything should run w/o any setup, there is no database, the only requirement if you run the Model-Glue and MachII examples is to drop this exact structure in your webroot, or create a mapping called CFUnited. Most of the examples are covered in the Connect Presentation.

Quick note re: jQuery. One of the examples I posted is using the $.post() function, which has been deprecated in the lastest 1.0.4 release that came out yesterday in favor of the $.ajax() function. I will update the examples shortly and update the same link.

Enjoy.

[digg this]

jQuery 1.0.4 fixes 247 bugs

jQuery 1.0.4 it out; 247 bug fixes, plus a few nice additions... The Ajax libraries have been fully refactored plus there are a few new properties to the $.ajax method. Important note, $.get and $.post are deprecated in favor of the $.ajax function.
Also, check out the new jQuery API site. Thank you John!

Ajax presentation for the Scottish CFUG

I'm speaking tomorrow for the Scottish CFUG, nevertheless, free and open to whoever wants to join us. It will be a Adobe Breeze, sorry, Adobe Connect presentation, very similar to the one I did for the Boston CFUG back in September, but I will slow down and explain more this time, since I pretty much have no time restriction.

The _official_ topic for the session is:
Ajax, Web 2.0, RIAs, single-page-applications are just a few buzzwords that every developer needs to know in 2006. Learn the history of Ajax, what it means to you, why you should pay attention, who is using it, what is available, and how to implement it. This session will get you up to speed with Ajax, compare the different existing frameworks, and provide you helpful tips of do's and do not's with Ajax.

However, I will show plenty of examples, use different frameworks, and respond to as many questions as possible.

Time: 8pm (GMT) / 3pm (EST)
URL: http://adobechats.adobe.acrobat.com/r21774523/

Josh Adams on Ajax

Josh Adams from New Atlanta gave an Ajax presentation to the NCFUG a couple of days ago, covering most of the basics and a few frameworks -- Atlas, Spry, and AjaxCFC. The presentation is 1.5h long and it well worth it for people looking for a good intro / overview. John mentions he mostly uses AjaxCFC and asked a couple of questions I want to address, plus I have a few comments.
First, John asked about the second argument in the _execute function, yes ... that null, hehe. Like the docs say, it has no real use for ColdFusion, but the same JavaScript functions power DWR in the Java World and this argument indicates the class to be executed; the third argument indicates which method inside that class is to be run. The way I have AjaxCFC set up you don't really override any class, you just indicate which method on the CFC you wish to run.
Second, the new log4javascript integration was brought up. If you add debug:true to the config arguments when setting up AjaxCFC, you will enable log4javascript, which by default will pop up a new window and log every single Ajax request, including the responses and errors. As Aaron mentioned, this could eliminate the need for http sniffers to see what happens in the background, nonetheless, I would strongly suggest you use one. Aaron also mentioned other libraries at the end, like jQuery, which I hopefully cover this Thursday in my next breeze presso for the Scottish CFUG.

Ajax, JavaScript, CSS, DOM: Get Firebug 1.0

People constantly ask me how do I debug Ajax applications or why is their Ajax call breaking, and 9 out of 10 times my first response is what is your http sniffer telling you? There are many sniffers out there, but I most of the times use firebug; it is a Firefox extension good not only for debugging your XMLHttpRequests, but it helps with HTML (inspect and edit), CSS (visualize, edit), JavaScript (Logging, set break points, execute code), ...
I use firebug every single day and Firebug 1.0, which went public beta today, has even more goods. Truly amazing, hats off.

Single Ajax Interface For Yahoo Mail & IM Coming

This morning Yahoo will announce that they will integrate an Ajax version of Yahoo Instant Messaging directly into the new Yahoo Mail beta. Unlike Google’s integration of Google Talk with Gmail earlier this year, Yahoo is combining the products into a single interface. Yahoo says the new features will launch in the next two months (from techcrunch)

ajaxCFC 1.01: ColdFusion frameworks update

Dan Wilson pointed out today that the Model-Glue and Mach-II branches of ajaxCFC were not updated for v1.0, so I just updated them to the lasted Ajax engine, added logging, and matched all the featured of the stand-alone release. RIAForge's SVN has been updated as well as the main ajaxCFC download distro.

By the way, I updated the live examples as well to include and enable logging. You can get the list of examples in the main project page.

The code is back-compatible. The only updates where engine.js, ajax.js, log4javascript.js, and log4javascriptSetup.js. In order to enable logging simple add 'debug':true to the Ajax config section, which in the examples is located inside the JavaScript.cfm, in the views folder.

ajaxCFC reaches 1.0

I'm happy to announce that ajaxCFC has reached 1.0; but wait, there is more! ajaxCFC has a new home: it is now hosted at RIAForge where you can discuss issues in the forums, file bugs, and browse the source code with SVN.

As part of this new build I included the log4javascript integration: an unobtrusive html pop-up that logs your every Ajax request, showing requested methods, arguments, responses, and trapped server-side errors.

I must confess, I have my own subversion server, thus you won't be seeing much activity in the RIAForge's public one, nevertheless, you will get updates before I upload new builds.

I will also re-open a Wiki for ajaxCFC, but this time I will make is private. Last time I tried this it kept getting sabotaged, so if you want access just ping me.

p.s. I almost forgot, I updated the documentation.

More Entries

This blog is running version 5.9.003. Contact Blog Owner