Coldfusion best practice guide request

2006-02-01 Thread Mark W. Breneman
A few years ago (probably in the CF 5 days) someone on this list posted 
a two page Coldfusion best practice guide that they wrote. This 
Coldfusion best practice guide consisted of basic naming conventions for 
structures, tables and arrays along with a few basic performance best 
practices like use cfif len(foo) rather than cfif foo is not ''

Does anyone have a Coldfusion best practice guide that they would be 
willing to share? I am reviewing some of the things we call best 
practice in the office and hope to write up a best practice guide for 
myself. Plus, I always like seeing what other programmers know, often it 
is more than I thought I did.

If you don't want to share your best practice guide on this list you can 
mail it to mark @ vividmedia.com

thanks

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
 Vivid Media

 www.vividmedia.com
 608.270.9770


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230933
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion best practice guide request

2006-02-01 Thread Michael T. Tangorre
 From: Mark W. Breneman [mailto:[EMAIL PROTECTED] 
 Does anyone have a Coldfusion best practice guide

http://livedocs.macromedia.com/wtg/public/coding_standards/




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230934
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion best practice guide request

2006-02-01 Thread Assistenza Sito
one useful it's here:
http://livedocs.macromedia.com/wtg/public/coding_standards/contents.html
hth


On 2/1/06, Mark W. Breneman [EMAIL PROTECTED] wrote:
 A few years ago (probably in the CF 5 days) someone on this list posted
 a two page Coldfusion best practice guide that they wrote. This
 Coldfusion best practice guide consisted of basic naming conventions for
 structures, tables and arrays along with a few basic performance best
 practices like use cfif len(foo) rather than cfif foo is not ''

 Does anyone have a Coldfusion best practice guide that they would be
 willing to share? I am reviewing some of the things we call best
 practice in the office and hope to write up a best practice guide for
 myself. Plus, I always like seeing what other programmers know, often it
 is more than I thought I did.

 If you don't want to share your best practice guide on this list you can
 mail it to mark @ vividmedia.com

 thanks

 Mark W. Breneman
 -Cold Fusion Developer
 -Network Administrator
  Vivid Media

  www.vividmedia.com
  608.270.9770


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230936
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion best practice guide request

2006-02-01 Thread Andy Matthews
I'd love to see this as well. I'm always up for cleaner/better/more
efficient code.

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Mark W. Breneman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 01, 2006 7:53 AM
To: CF-Talk
Subject: Coldfusion best practice guide request


A few years ago (probably in the CF 5 days) someone on this list posted
a two page Coldfusion best practice guide that they wrote. This
Coldfusion best practice guide consisted of basic naming conventions for
structures, tables and arrays along with a few basic performance best
practices like use cfif len(foo) rather than cfif foo is not ''

Does anyone have a Coldfusion best practice guide that they would be
willing to share? I am reviewing some of the things we call best
practice in the office and hope to write up a best practice guide for
myself. Plus, I always like seeing what other programmers know, often it
is more than I thought I did.

If you don't want to share your best practice guide on this list you can
mail it to mark @ vividmedia.com

thanks

Mark W. Breneman
-Cold Fusion Developer
-Network Administrator
 Vivid Media

 www.vividmedia.com
 608.270.9770




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230938
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion best practice guide request

2006-02-01 Thread Charlie Griefer
the term best practice is very subjective and likely to instigate
brutal and bloody wars the likes of which civilization has never
before witnessed.

start off with Sean's coding guidelines and go from there :)

http://livedocs.macromedia.com/wtg/public/coding_standards/contents.html



On 2/1/06, Mark W. Breneman [EMAIL PROTECTED] wrote:
 A few years ago (probably in the CF 5 days) someone on this list posted
 a two page Coldfusion best practice guide that they wrote. This
 Coldfusion best practice guide consisted of basic naming conventions for
 structures, tables and arrays along with a few basic performance best
 practices like use cfif len(foo) rather than cfif foo is not ''

 Does anyone have a Coldfusion best practice guide that they would be
 willing to share? I am reviewing some of the things we call best
 practice in the office and hope to write up a best practice guide for
 myself. Plus, I always like seeing what other programmers know, often it
 is more than I thought I did.

 If you don't want to share your best practice guide on this list you can
 mail it to mark @ vividmedia.com

 thanks

 Mark W. Breneman
 -Cold Fusion Developer
 -Network Administrator
  Vivid Media

  www.vividmedia.com
  608.270.9770


 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230941
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion best practice guide request

2006-02-01 Thread Jim Wright
while not CF related, I was pretty impressed with the coding
quidelines for drupal, which are based on the pear coding
standards
http://pear.php.net/manual/en/standards.php
some of it is php specific, but there is a lot of good stuff there
that can go across languages.

-jim


 On 2/1/06, Mark W. Breneman [EMAIL PROTECTED] wrote:
  A few years ago (probably in the CF 5 days) someone on this list posted
  a two page Coldfusion best practice guide that they wrote. This
  Coldfusion best practice guide consisted of basic naming conventions for
  structures, tables and arrays along with a few basic performance best
  practices like use cfif len(foo) rather than cfif foo is not ''
 
  Does anyone have a Coldfusion best practice guide that they would be
  willing to share? I am reviewing some of the things we call best
  practice in the office and hope to write up a best practice guide for
  myself. Plus, I always like seeing what other programmers know, often it
  is more than I thought I did.
 
  If you don't want to share your best practice guide on this list you can
  mail it to mark @ vividmedia.com
 
  thanks
 
  Mark W. Breneman
  -Cold Fusion Developer
  -Network Administrator
   Vivid Media
 
   www.vividmedia.com
   608.270.9770
 
 
 

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230952
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion best practice guide request

2006-02-01 Thread Robertson-Ravo, Neil (RX)
Well, it is kinda 99.9% PHP specific ;-)



-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2006 15:31
To: CF-Talk
Subject: Re: Coldfusion best practice guide request

while not CF related, I was pretty impressed with the coding
quidelines for drupal, which are based on the pear coding
standards
http://pear.php.net/manual/en/standards.php
some of it is php specific, but there is a lot of good stuff there
that can go across languages.

-jim


 On 2/1/06, Mark W. Breneman [EMAIL PROTECTED] wrote:
  A few years ago (probably in the CF 5 days) someone on this list posted
  a two page Coldfusion best practice guide that they wrote. This
  Coldfusion best practice guide consisted of basic naming conventions for
  structures, tables and arrays along with a few basic performance best
  practices like use cfif len(foo) rather than cfif foo is not ''
 
  Does anyone have a Coldfusion best practice guide that they would be
  willing to share? I am reviewing some of the things we call best
  practice in the office and hope to write up a best practice guide for
  myself. Plus, I always like seeing what other programmers know, often it
  is more than I thought I did.
 
  If you don't want to share your best practice guide on this list you can
  mail it to mark @ vividmedia.com
 
  thanks
 
  Mark W. Breneman
  -Cold Fusion Developer
  -Network Administrator
   Vivid Media
 
   www.vividmedia.com
   608.270.9770
 
 
 

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230953
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion best practice guide request

2006-02-01 Thread Dave Watts
 A few years ago (probably in the CF 5 days) someone on this 
 list posted a two page Coldfusion best practice guide that 
 they wrote. This Coldfusion best practice guide consisted of 
 basic naming conventions for structures, tables and arrays 
 along with a few basic performance best practices like use 
 cfif len(foo) rather than cfif foo is not ''

It is important not to confuse conventions with best practices. They are
very different things. For example, it really doesn't matter how you name
variables, as long as you do it consistently and apply a modicum of common
sense.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230956
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Coldfusion best practice guide request

2006-02-01 Thread Michael Dinowitz
Best practices can be a very relative term and any docs you read will be based 
on the writers biases. For example, some say you should never use the public 
variable scope (this) in CFCs. Others say that there is no problem doing this. 
Some still say to lock memory variables (session, application, etc.) all the 
time while others say that it is only needed in a race condition. Some still 
say that IIF() is slower than CFIF while others know it compiles down to the 
exact same code.
As long as you remember that the guidelines are just guidelines and not holy 
writ, you'll be ok. :)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230957
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Coldfusion best practice guide request

2006-02-01 Thread Michael T. Tangorre
 From: Dave Watts [mailto:[EMAIL PROTECTED] 
 It is important not to confuse conventions with best 
 practices. They are very different things. For example, it 
 really doesn't matter how you name variables, as long as you 
 do it consistently and apply a modicum of common sense.

With on exception... Hungarian Notation. :-)
http://web.umr.edu/~cpp/common/hungarian.html




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54