Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-11 Thread Teddy R. Payne
Discussion, Using the example of people, businesses, and addresses, it depends how much unique information you gather about each entity. Addresses for a person and a business probably share many related fields and would make logical sense that you could create one entity for just addresses. If

RE: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread axunderwood
My biggest pet peeve: CFQueries inline in a CF template. I'm not a stickler for complete object oriented or you have to do things exactly a particular way...that being said, I have two reasons why I like to see cfqueries or cfstoredproc calls in a cfc or a cfm template that can be called as a

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread Derrick Peavy
(looking forward to being told how wrong I am here and being raked over the community coals for my heresy.) Something that is clear from this thread - the needs of some types of apps are different than others. Size and business does dictate coding. For someone at UPS or another large

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread Douglas Knudsen
one of my favs http://www.cubicleman.com/2005/05/23/best-waste-of-code/ Use the API Luke! Why I usually live in livedocs.adobe.com DK Douglas Knudsen douglasknud...@gmail.com On Jan 4, 2010, at 3:23 PM, Cameron Childress wrote: Since the topic of the next ACFUG meeting is how NOT to code

RE: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread Shane Heasley
I'll make a short reply to Derrick's post as my posts usually seem to end up in the bit bucket. I like commenting, and CFC's, and I feel strongly about defining what the objects are in the application and THEN building the DB and components. I vote for MVC every chance I get, but Code is

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread Teddy R. Payne
I agree that the amount of concurrent users and traffic do determine how much preparation, planning, and code design is necessary. We can definitely run into scope creep or analysis paralysis over a simple problem. Remember that peeve is a subjective and personal condition. It does not mean

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-05 Thread Teddy R. Payne
I can remember something anal and small that irks me. I am a big fan of closing tags and scoping variable. I think it looks more neat and adheres to an XHTML type mind set. Example: cfset foo = 1 This would ping my OCD part of brain and want to reach out and do: cfset variables.foo = 1 / I

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-04 Thread Rudi Shumpert
Pet peves: Not scoping variables Not scoping variables Not scoping variables use of the same query name for every cfc/cfquery oh.. and Not scoping variables On Mon, Jan 4, 2010 at 3:23 PM, Cameron Childress camer...@gmail.comwrote: Since the topic of the next ACFUG meeting is how NOT to

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-04 Thread Cameron Childress
On Mon, Jan 4, 2010 at 5:18 PM, Derrick Peavy derr...@derrickpeavy.com wrote: So, five session vars, numeric in value, less than four digits (or single char values), along with multiple client vars of less than 4 digit numeric values or single chars - you're saying that's a huge eff'n no?? I

Re: [ACFUG Discuss] Examples of How NOT to Code in ColdFusion?

2010-01-04 Thread Derrick Peavy
!--- MY FIRST PET PEEVE --- !--- people need to learn to comment their code --- !--- for example, when I have to throw in a hack, i like to remind myself to remove it --- !--- so I type: hey dumba** - remove this comment and code block as soon as you can figure