Monthly Archives: December 2006

December 12, 2006
Outputting content from within a method

Normally I’m with the crowd who says “don’t output content or use <cfinclude> from within a function”. Like a lot of people I would much rather return whatever value I need to the calling page/function, so that I then have a choice with what I want to do with it.
Still, the other day I found [...]

December 7, 2006
Including js files from within js files

I’m working on an application which stores a lot of data in the application scope. Part of the data stored is a config CFC that has a method which loads ‘external assets’ (javascript and css files etc) into the <head> of the html document via <cfhtmlhead>. I love that tag
My part in this [...]

December 5, 2006
snap…a google competitor and cool site preview tool

Snap is a nice little search engine which displays your results in a left window pane and a site preview of your search result in the right. It’s very Ajax-y and includes personalised settings, email a friend, result ratings and more. They even made the Time 50 coolest websites of 2006.
Snap is also a free [...]

December 4, 2006
Viewing AJAX generated source code

When developing for the web there is often a need to view the (X)HTML source code of a page to see exactly what ColdFusion (or your server side language of choice) is generating from the server.
One of the problems you might face is when viewing the source code of an AJAX generated event. Of [...]