chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

Archive for November, 2006

Will CFMX8 have cfcontinue?

Wednesday, November 29th, 2006

There are a couple of nice statements you can use to control processing within loops, namely

break
continue

Break is of course used to exit the current loop entirely and resume page processing from the first CF statement after the end loop tag. Lovely!
Continue has a subtle but handy difference, it ends the current loop iteration and ‘continues’ […]

Read the rest of this entry »

Commenting templates with author data

Thursday, November 16th, 2006

We all know that we should liberally comment our code to allow other developers (and yourself) to quickly and easily find out what a particular section of code does. But what about a comment block at the top of the page so anybody can (at a glance) determine template specific information?
Here is an example of […]

Read the rest of this entry »

Getting tag functionality in cfscript

Wednesday, November 15th, 2006

For some developers there is an age old argument between the use of ColdFusion tags and <cfscript>, I’m not going to delve too much into this argument as I believe you can use both for different scenarios.
What I will say is that I do like many things about <cfscript>. It is easy to read and […]

Read the rest of this entry »

Wordpress RSS feed validation

Tuesday, November 14th, 2006

I’ve been using Wordpress for a while now and I’m really happy with it. Only recently have I tried to validate my RSS feed using feedvalidator.
Unfortunately even though the feed validated I received the following warning:
wfw:commentRSS should be wfw:commentRss

The explanation given on the site was:
Due to a clerical error, the element Chris Sells originally spec’ed […]

Read the rest of this entry »

Lightweight Notepad replacements

Monday, November 13th, 2006

Usually when developing you have all your relevant development files contained within a central project directory, so you can of course access any file you want from within your IDE environment.
Sometimes however (and this is very often for me) you want to open a file (or bunch of files) which don’t exist in a current […]

Read the rest of this entry »