> I'm attempting to compile some information for my department, and I'm
looking
> for resources/websites to find information on programming standards &
> guidelines for CF, HMTL, JavaScript, etc.

Off the top of my head, here's some things I've standardised on
(mostly security-related):

- Application.cfm should always be capitalised to prevent forgetful
  frustration when migrating to a Unix server ;)
- All sensitive variables should be set in Application.cfm, and
  Application.cfm should be encoded using cfencode.exe before
  uploading to live server.
- All form data should be thoroughly validated *server-side*. Client-side
  JS validation is extra, if you don't want people to have to go through
  a form twice if they get things wrong.
- Standardise on variable- and file-naming conventions.

I've taken a lot from Fusebox, it *is* worth looking at even if you
don't take it all lock, stock & barrel. One thing I've found really
useful is the Fusedoc standard for documentary comments in
CF templates. I don't use the full XML code thing, just plain
comments, but the conventions (e.g. for describing incoming and
outgoing variables) are really nice.

hth,

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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