I'm re-submitting this post since I had to blow away the original one when I had the HTTP compression issues. The original, posted on August 19, 2007, can be found via Google cache:
With RIA's becoming so pervasive and developers just going full tilt in embracing toolkits that help build these wonderful apps, its still extremely important to take into consideration site optimizations that actually make your site usable.
Take for example the age old adage of the “files are cached on the user's computer”. Well, Yahoo seems to have done a good job of dispelling that thinking by doing some research that shows that:
40-60% of Yahoo's users have an empty cache experience
~20% of all page views are done with an empty cache
Holy crap! 40-60%!!! Yahoo's audience is so distinct that these figures really are compelling and should be considered when designing your site. Here's the link for the full article:
While reading ValleyWag, I found a post to a VERY cool Web 2.0 map that shows how most of the big players in the space interconnect with each other. Its based on a Tokyo subway map layout and comes in different formats and sizes.
Seriously folks, its a fact that the folks that I've listed are industry respected experts and sharp as a tack. There are plenty of libraries to choose from and they've made a concious decision to use the jQuery in conjunction with ColdFusion for their development efforts. Why? Simple:
Extremely powerful with full support for CSS 1-3 Selectors and some basic XPath, allowing you do to expressions like: $(“div:not([a.error])”)
Impressive set of DOM manipulators, allowing you do to expressions like this, without batting an eye: $(“select”).append(““);
Lightweight (only 19k)
Amazing user community
Dedicated project team
Up-to-Date, consolidated and thorough documentation
I took a very informal poll on CF-Talk to see what Ajax frameworks were being used in the ColdFusion community. The results were interesting but not too surprising. Some were sticking to the CF-based frameworks such as AjaxCFC, CFAjax and the new MXAjax while others were really behind Spry. JQuery also received some kudos so its interesting to see how people are moving in different directions.
I'd certainly like to understand the rationale behind their choices as I'm sure would everyone else looking at Ajax frameworks. Essentally, why'd you go with AjaxCFC vs. JQuery vs. JSMX etc….
Here's the list of Ajax frameworks that came out of that thread:
Here's a tip that I wanted to share within everyone here. It may be known but I only found out about it today and wanted to share.
If you ever get the dreaded “Invalid Reply from Server” message from AjaxCFC, spark up Firefox/FireBug and call your site from your local IP. This will give you the actual message that DWR is sending back.
Put a stop point at about line 517 (or immediately after “batch.req.send(query);”) of engine.js and look for the “batch” object. In the there you'll find the “req” (XMLHttpRequest request) object which has a standard attribute called responseText. That will give you all of the details of your error but for security reasons, it only shows it via your local IP address (127.0.0.1).
Finally, be sure to get yourself a good HTTP sniffer. I recently picked up Service Capture and it works awesome. It lets me see all of the traffic come from my request which makes identifying issues with my Ajax requests MUCH easier. Its definitely worth the $40.
UPDATE: Rob Gonda pointed out that FireBug also has a built-in http sniffer and I just tested it out! And works like a charm! Thanks Rob!
We've all seen the sudden increase in Web 2.0-style logos being used on all types of sites. I bet you wish you had one of your own. Well, I'm not sure who “Alex P” is but he create a VERY cool Web 2.0 Logo Creator that will let you build your very own Web 2.0-style logo on the fly.
I gave it a shot and got this:
My logo still needs some tweaking but the coolness factor is definitely there.