>   I would recommend lowercasing CF tags.  This will make it consistent 
>with
>XHTML.
>   For more information, look here <http://www.w3.org/TR/xhtml1/#diffs>
>   I also (personally) think that all lowercase words are easier to read
>than words in all uppercase.

While I agree that all lower case words are easier on the eyes that all 
upper case, I've really never understood people who advocate your first 
argument.

CF is server-side code and does not get sent back to the browser (as I know 
you know). So you gain nothing by trying to follow the XHTML standards with 
your CF code. HTML tags I can see because it does have an effect on 
established public compliance standards. But to compare them is apples and 
oranges, in my opinion, since CF code is never returned to the browser.

As a side note, I think you might run into the problem with custom tags by 
putting a trailing slash at the end of the call where the tag gets run 
twice. I could be wrong, but I thought I remember seeing that happen before. 
For example:

<cf_mytag attribute1="value"1 />

Personally, this whole discussion boils down to personal 
preference...period. As I said, I personally think that writing my tags in 
all lower case is easier on my eyes, so that's how I do it. I also have SQL 
rules where I capitalize keywords, lower case columns and tables, and put 
each column in my statement on its own row. But that's just my preference 
because it's easier to read my code and know what's going on. I'm not going 
to mandate that somebody write their CF code the same way. That's kind of 
ridiculous. There are a lot of other more important standards that should be 
implemented within a development team before I even *think* of casing.

Just my $.02.

Regards,
Dave.



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to