On Tuesday, Jun 3, 2003, at 19:55 US/Pacific, Jeffry Houser wrote:A) Documentation: I have a documentation "header" I drop into the top of every page. It includes many standard elements such as my name and company, plus a lot of page specific information that I fill in such as a description of the template, the name of the template, the date, etc..
You could always create a blank .cfm template file that has all of that and DWMX will create new files that contain your standard header... (haven't tried that but I'm sure it would be easy - it's what I've done in most other editors).
B) Comments. It is nice to be able to comment out sections of code just by highlighting and hitting a keystroke.
This is a single click operation in DWMX (using the CFML Basic tab of the Insert toolbar).
I turn off most of the toolbars to regain more page real estate.
C) Sample queries that grab the ID of a recently inserted item
Hmm, is this a SQL Server specific thing? (I see @@identity mentioned a lot but have never used it).
Yes!
D) A sample cfapplication tag. Just pop it in fill in the blanks.
Interesting... But for a tag that's used just a few times (in comparison to everything else), how much of a saving is it? This line:
<cfapplication clientmanagement="yes" sessionmanagement="yes" setclientcookies="yes">
was 25 key presses including up/down/left/right arrow key actions (and no mouse clicks). How many keys / clicks is it in CFS using a snippet?
In most cases, I expect people to add a name attribute to the cfapplication tag, so I use the tag just like the sample querie. Insert it and fill in the blanks.
In your case above, it would be 1 keystroke for inserting the tag, and another keystroke to delete the un-needed attributes. (Highlight with mouse, delete)
--
Jeffry Houser | <mailto:[EMAIL PROTECTED]>
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Books: <http://www.instantcoldfusion.com>
--
We Provide The Soundtrack to your Web: <http://www.fcfstudios.com>
--
Original Energetic Acoustic Rock: <http://www.farcryfly.com>
We need one hundred fifty thousand dollars to promote our next CD
I'll take a check
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
