Rey Bango

Icon

20 Years in IT & Still Going Strong

40-60% of Yahoo's Users Have an Empty Cache Experience

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:

Performance Research, Part 2: Browser Cache Usage – Exposed!

It really is enlightening.

Pingdom: Web Page Loading Time Tester

One of the more common topics that occurs in the Ajax/DOM/JS space is page load times. This is especially important to the jQuery team and one of the reasons we go to great lengths to keep the library at about 20k total size.

Which leads to Pingdom. If you're interested in seeing how your page is performing, then you might want to take a look at Pingdom Tools. It gives you a great visual representation of how your fast your page loads and the overall size of your page and its components. WebAppers.com has a nice writeup here:

Webappers.com Post

Direct link here:

Pingdom Tools

The only drawback is that you can't use Pingdom for intranet testing. If anyone knows of a good application (other than FireBug) or method of testing page load times in an intranet environment, I'd love to hear about it.

FireBug does have similar functionality but this is a nice alternative to cross-reference with.

Holy Cow! Another CF Big-Wig Using the jQuery Ajax Library

First it was Rob Gonda. Next, Joe Danziger saw the light. Then Dan Switzer joined the fray. Then I find Tony Petruzzi doing some VERY cool stuff.

Now super rock star ColdFusion expert Ben Nadel has joined the growing list of notable CF'ers using jQuery for their Ajax & Javascript needs.

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
  • A ton of UI controls and widgets
  • Tutorials galore
  • Introductory sites for the new jQuery developer

And with Rob Gonda releasing AjaxCFC for jQuery, there's no reason why you shouldn't take a look at this great library.

For more info on jQuery, go here:

jQuery Ajax/Javascript library
jQuery Documentation
jQuery Tutorials

jQuery Plugins/Widgets
jQuery Demos
Learning jQuery Web Resource Center

Visual jQuery
Visual jQuery Magazine

jQuery Ajax AutoComplete Redone by Dan G. Switzer

Dan G. Switzer of qForms fame has recently been cranking up code using the jQuery Ajax/JS library.

He's released a refactored version of Dylan Verheul's jQuery Autcomplete plug-in which:

  • Supports local data array (can now use w/out AJAX).

  • Limit dropdown to XX number of results (good for limiting the results to users)
  • Autofill pre-populates text box as you type
  • New findValue() method can be used to programmatically determine if the value in the box is a valid option. (Useful for verifying the text entered is an existing value option.)
  • Dropdown options now correctly re-position themselves on each display (which means they adjust for changing to the DOM)
  • Dropdown box defaults to the width of the input field its attached to(you can manually specify a larger width as well)
  • Better emulates Windows autocomplete boxes (for example: hitting delete and retyping the same box will now bring back the dropdown menu)
  • Miscellaneous bug fixes

You can see the demo and download the code here:
Dan G. Switzer's AutoComplete Mod

Great work Dan!

jQuery & ColdFusion: AJAX for ColdFusion

I'm a HUGE advocate for the jQuery Ajax/Javascript library. It's lean, fast and VERY feature rich. Its on par with ANY JS lib out there. One of the big thinks lacking, at least from a ColdFusion perspective, was the ability to handle native CF data types and complex objects ala Rob Gonda's AjaxCFC.

Rob & I have been using jQuery for awhile now and even thrown out the possibility of making a version of AjaxCFC that uses jQuery under the hood. Well, Rob went off and actually did it!!! Today, Rob officially announced the AjaxCFC for jQuery Alpha Release. Yep, thats right! You can now leverage jQuery for your CF applications. To quote Rob:

“It's the same Ajax <-> CF integration you already know, but using the jQuery Ajax engine. It supports full JSON and WDDX serialization, has improved error handling, improved log4javascript integration, still supports named and unnamed arguments, and just so you can use it right away, it's back compatible with the DWR syntax.”

This is great news and truly validates jQuery's power and flexibility. For more info, jump over to Rob's blog.

For more info on jQuery, go here:

jQuery Ajax/Javascript library

jQuery Documentation
jQuery Tutorials
jQuery Plugins/Widgets

jQuery Demos
Learning jQuery Web Resource Center
Visual jQuery

Visual jQuery Magazine

Doing Ajax? YOU NEED TO GET THIS!

Get FireBug 1.0 (beta)

If you've been doing any form of Ajax development, you know how invaluable an HTTP sniffer & DOM inspector is. And quite honestly, I've found none better than the FireBug extension in FireFox to handle these tasks. Its a nice little plugin that sits unobtrusively until you need it.

Well, Joe Hewitt, the author of FireBug, has released an open beta of the anxiously awaited FireBug 1.0. This is a MAJOR revamp of the original version and a must download if you're doing any type of Ajax, CSS or DOM manipulation. Trust me when I tell you that this plugin is invaluable and you will end up using it all of the time.

Get FireBug 1.0 (beta)

Adobe, Where are the ColdFusion Ads?

Earlier in November, I commented on Sean Corfield's Blog about how I felt the both MM & Adobe had, to date, failed miserably in promoting ColdFusion as the application server of choice for web development. Sean replied with:

“Rey, what would you like to see in terms of promotion? Give me some realistic, concrete examples of appropriate ColdFusion marketing…”

Definitely a good question to which I offered lengthy feedback. Part of my reply was about the complete lack of ColdFusion-related ads on sites that are *not* CF-specific. I mentioned the following:

“Why aren't there any CF ads on sites such Red Herring or SitePoint? Oh, wait I did notice the nice Macromedia Studio 8 ad that Adobe is running on SitePoint so I guess in a roundabout way, CF is in there. And I sure see quite a number of those nifty flash-based Flex ads floating around. I mean its great to know that I can go to Adobe's site and learn how to make “My Business Flow with Adobe Acrobat”. I guess I'll use that to build my intranet as well. :)

Well, to further justify my comments about Flex getting more advertising monies than ColdFusion, I started collecting screen caps of ads that I see on various sites. Here are some screen captures that I found on a couple of prominent “Web 2.0″ type news sites:

TechCrunch
(Same article just at different points in the ad transition)
TechCrunch Image 1 (11/28/06) (pic of guy with laptop)

TechCrunch Image 2 (11/28/06)

Read/Write Web:
(Same article just at different points in the ad transition)
R/W Web Image 1 (11/28/06) (red 125×125)

R/W Web Image 2 (11/28/06)

Tech Dirt:
(Two different articles)
TechDirt Image from Article 1 (11/21/06)

TechDirt Image from Article 2 (12/1/06)

Now let me clarify something. This is *NOT*, I repeat, this is *NOT* a dig at Flex in any way. Flex is an outstanding product.

This is to show some proof that what I said is actually true and that Flex is getting much more ad time than ColdFusion in ad spaces that are catering to general web development and/or IT content. I realize the Flex is a newer product in the Adobe line but I see plenty of ads for Flash, Photoshop and Acrobat. So thats not justification for completely neglecting any ColdFusion in terms of advertising & marketing.

So Adobe, how about showing some love to one of the best application servers out there? How about asking your marketing team to really give some thought on how to get more press for our beloved ColdFusion?

Are your client sites ready for IE7?

With IE7 expected to be pushed down to PCs via Windows Update, the urgency to ensure that your websites work correctly under this new version has just increased ten-fold. The expectation is that this won't be a choice but that it will be forced onto most PCs via Microsoft's Windows Update mechanism.

I'm testing my sites now with the recent IE7 Release Candidate 1 which can be downloaded at Microsoft's website. Since I didn't want Internet Explorer 6 to be upgraded on my dev box, I wanted to be able to run IE 7 standalone. The link below will provide the tools to run IE7 in standalone mode.

IE7 Standalone Launcher

This is Jon Gallowy's updated version for IE7 RC1. The old script doesn't work properly and this script applies a hotfix to allow the tabs to work in standalone mode.

I'm currently using it and its running perfectly. The readme.txt file included in the tool will explain how to install IE7 in standalone mode so DO NOT install IE7 before reading that file. Otherwise, it will update IE6 to IE7.

Definitely consider using this especially with IE7 just around the corner.

Should We Rest on our Laurels??

I recently read a posting on a mailing list I frequent from a person that said that:

“I have a stable full time job in a corporation, so I don't
really need to worry about being competitive.”

This comment struck me as kind of odd because I recall just a couple of years ago how so many people were freaked out about job security. The dotcom bust really put a scare in many an IT professional and the glut of talent on the street when all of these companies folded must've made Monster.com the busiest job site on the web. I too was affected by the dotcom boom as I was unemployed for almost a year. Its an experience that I'd never gone through and never plan on going through again.

So when I read that comment, I honestly had to wonder if:

1) The industry has truly become so revitalized that we don't have to worry anymore about our skills?

or

2) Have we been lulled into a false sense of security because things are getting better?

Personally, I feel its the latter.

I've seen a resurgence in IT positions over the last year and recruiters have definitely be proactively calling to try and place candidates. This is a big contrast from a couple of years ago where even the recruiters were hurting for business. I've also seen salaries go up a bit (nowhere near the dotcom craze) which is also a good indication that things are getting better.

These factors, in my opinion, are making people complacent and letting them rest on their laurels. I feel that you need to stay competitive and refresh your skills frequently. While the job market appears to have perked up, I've experienced being laid off and having to fight with people with similar skills for the same menial position. Its not something that I'm willing to do again and the only way to avoid that is to keep your skills up. Whether its .Net, Ajax, Flex, Ruby or project management, I honestly feel that we should never allow ourselves to get too comfortable and forget what happened just a couple of years ago.

People tend to forget the bad times when things are going good and I for one won't let myself fall into that. If anything, my mentality will be a benefit to any client that hires me because they'll know that I take my career seriously.

Maybe I'm wrong though. Maybe I'm being overly paranoid and should just feel comfortable in the fact that CFML will be around forever and that it will be the only skill that I need. Hmmm, I think I'll err on the side of caution and continue learning Ajax, just in case.

I look forward to your comments.

New to CSS & DHTML? Check this out!

I've used Dynamic Drive on several occasions when I've needed some nice JavaScript code to get me out of a bind. And I have to say that its one heck of a JavaScript resource.

Well, Dynamic Drive just came out a new site that is catering to Cascading Style Sheets and DHTML!! Its called the Dynamic Drive CSS Library and it is hella cool. You get free code for everything from arrow comment boxes like NetFlix uses to cool CSS Tab menus!

This is really a cool find and I highly recommend it to new and experienced web developers.

Twitter

Contact Me

AIM: iamreybango
GTalk: reybango at gmail dot com
GMail: reybango at gmail dot com




Rey Bango is Digg proof thanks to caching by WP Super Cache