RE: cfloop vs cfoutput query - best practice

2005-12-16 Thread Andy Matthews
PROTECTED] Sent: Thursday, December 15, 2005 4:18 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I would maim to be able to use

RE: cfloop vs cfoutput query - best practice

2005-12-16 Thread Adrian Lynch
: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:18 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I

RE: cfloop vs cfoutput query - best practice

2005-12-16 Thread Andy Matthews
, 2005 8:24 AM To: CF-Talk Subject: RE: cfloop vs cfoutput query - best practice Well you can, but you wouldn't want to. Just do the logic yourself by seeing if the grouping column has changed, if it has, you've moved onto the next group. Ade -Original Message- From: Andy Matthews [mailto

Re: cfloop vs cfoutput query - best practice

2005-12-16 Thread Bryan Stevenson
Well that's okay then. But I was HOPING you'd tell me you had a way to group using cfloop darnit! Well you can do it...but it's not that efficientrole your own code that keeps track of the LAST loops value of the field you want to group onwhen LAST value is not equal to current value

cfloop vs cfoutput query - best practice

2005-12-15 Thread Charlie Hanlon
First, thanks to all who communicate via cf_talk. I have learned alot about my trade from all of the contributors. While its a rare occurance, when I am able to provide insight regarding someone's inquiry, I do so. My question is, if I need to loop thru a query result set and will be not

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Will Tomlinson
Ben Forta ran some tests on this one a while back, and I think it came out pretty even. You can probably google it and find his results. Will ~| Logware (www.logware.us): a new and convenient web-based time tracking

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Will Tomlinson
Here it is: http://coldfusion.sys-con.com/read/41568.htm Will ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message:

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Barney Boisvert
I prefer CFLOOP for all my query looping needs (even when I'm outputting) assuming I don't need the grouping provided by CFOUTPUT. I don't know if it's more efficient, but I think it makes the code easier to read. cheers, barneyb On 12/15/05, Charlie Hanlon [EMAIL PROTECTED] wrote: First,

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Matt Robertson
IIRC, it doesn't matter anymore in terms of speed with CF6+ As a matter of personal preference, if there's no output I use a loop. If there *is* output and I am using a loop I make sure I put the cfoutputs outside the loop, but again I don't believe that makes any difference unless you are on CF

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Bryan Stevenson
used to matternot anymore...if ya want the technical details I can fill them in for you...I use CFLOOP exclusively Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL

RE: cfloop vs cfoutput query - best practice

2005-12-15 Thread Andy Matthews
x737 --//- -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 3:59 PM To: CF-Talk Subject: Re: cfloop vs cfoutput query - best practice used to matternot anymore...if ya want the technical details I can fill them

Re: cfloop vs cfoutput query - best practice

2005-12-15 Thread Bryan Stevenson
That's not possible. What if you want to group on a column? Cfloop can't do that, only cfoutput. How do you get around that limitation? Because I would maim to be able to use group with cfloop. Well yes it is possible if you never (at least not in about 5 years) use the grouping ability of

RE: cfloop vs cfoutput query - best practice

2005-12-15 Thread Bobby Hartsfield
in this case. You could just turn on debugging and compare the execution times of both. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Charlie Hanlon [mailto:[EMAIL PROTECTED] Sent: Thursday, December 15, 2005 4:20 PM To: CF-Talk Subject: cfloop

RE: cfloop vs cfoutput mx 6.1 / 7

2005-02-21 Thread Calvin Ward
, 2005 5:55 AM To: CF-Talk Subject: Re: cfloop vs cfoutput mx 6.1 / 7 Can anyone tell me if there is a performance difference in the following 2 bits of code? I know back in 4.5 cfloop was worse than cfoutput but now? Any web references to tests on these things welcome! This is Forta

Re: cfloop vs cfoutput mx 6.1 / 7

2005-02-20 Thread Will Tomlinson
Can anyone tell me if there is a performance difference in the following 2 bits of code? I know back in 4.5 cfloop was worse than cfoutput but now? Any web references to tests on these things welcome! This is Forta on the subject. It's pre 6.1/7, but I'll bet it's the same.

cfloop vs cfoutput mx 6.1 / 7

2005-02-19 Thread Duncan I Loxton
* from Products order by Family /cfquery cfoutput cfloop query=getProducts A HREF=#getProducts.URL# target=_blankb#getProducts.ProductName#/b/a /cfloop /cfoutput // using cfoutput for the quey output // cfquery name=getProducts select * from Products order by Family /cfquery

Re: CFLOOP and CFOUTPUT

2002-03-09 Thread Jochem van Dieten
Plane, Nathaniel wrote: Eek, what about cfoutput group=? You wouldn't be able to group result sets in this case. Just use a conditional loop which is not over the query as a query, but over the query as a structure of arrays. Have to do that anyway if you want to jump back and forth between

CFLOOP and CFOUTPUT

2002-03-08 Thread Park, Simon
I know that the prevailing wisdom is that CFOUTPUT with the Query attribute is faster than CFLOOPing over a query. However, in Forta's CF 5 Certification Study Guide, he states that CFLOOP performs better (p. 37 and 374). Has CF 5 improved the performance of CFLOOP (Steve Drcuker referred to it

Re: CFLOOP and CFOUTPUT

2002-03-08 Thread Dave Carabetta
I know that the prevailing wisdom is that CFOUTPUT with the Query attribute is faster than CFLOOPing over a query. However, in Forta's CF 5 Certification Study Guide, he states that CFLOOP performs better (p. 37 and 374). Has CF 5 improved the performance of CFLOOP (Steve Drcuker referred to it

Re: CFLOOP and CFOUTPUT

2002-03-08 Thread Stephen Moretti
I agree with everything that Dave says... (Having just deleted all the stuff I typed cos it was a repeat) Only to add that eliminating unnecessary whitespace is important to me. But you will find that there are some people who swear by using CFOUTPUT QUERY=. When it comes to grouping

Re: CFLOOP and CFOUTPUT

2002-03-08 Thread Bryan Stevenson
www.macromedia.com - Vancouver Island ColdFusion Users Group Founder Director www.cfug-vancouverisland.com - Original Message - From: Park, Simon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Friday, March 08, 2002 7:13 AM Subject: CFLOOP

Re: CFLOOP and CFOUTPUT

2002-03-08 Thread ksuh
Yup. CFLOOP no longer sucks. Thank god. - Original Message - From: Park, Simon [EMAIL PROTECTED] Date: Friday, March 8, 2002 8:13 am Subject: CFLOOP and CFOUTPUT I know that the prevailing wisdom is that CFOUTPUT with the Query attributeis faster than CFLOOPing over a query

Re: CFLOOP and CFOUTPUT

2002-03-08 Thread Paul Giesenhagen
: Friday, March 08, 2002 10:12 AM Subject: Re: CFLOOP and CFOUTPUT Yup. CFLOOP no longer sucks. Thank god. - Original Message - From: Park, Simon [EMAIL PROTECTED] Date: Friday, March 8, 2002 8:13 am Subject: CFLOOP and CFOUTPUT I know that the prevailing wisdom is that CFOUTPUT

RE: CFLOOP and CFOUTPUT

2002-03-08 Thread Ben Forta
Correct, when first introduced CFLOOP was s-l-o-w, but nowadays you'll actually find that it outperforms CFOUTPUT. --- Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 11:12 AM To: CF-Talk Subject: Re: CFLOOP and CFOUTPUT Yup

RE: CFLOOP and CFOUTPUT

2002-03-08 Thread Plane, Nathaniel
: Bryan Stevenson [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 10:54 AM To: CF-Talk Subject: Re: CFLOOP and CFOUTPUT This one came through the list abouyt a month ago, so you may want to check the archives. The basic result was that CFLOOP is the way to go. Personally I wrap my entire

RE: CFLOOP and CFOUTPUT

2002-03-08 Thread Plane, Nathaniel
-Talk Subject: RE: CFLOOP and CFOUTPUT Correct, when first introduced CFLOOP was s-l-o-w, but nowadays you'll actually find that it outperforms CFOUTPUT. --- Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 11:12 AM To: CF-Talk

RE: CFLOOP and CFOUTPUT

2002-03-08 Thread Tyler M. Fitch
From: Plane, Nathaniel [mailto:[EMAIL PROTECTED]] -- Eek, what about cfoutput group=? And what about page includes, those would be out of the question (including a page with another cfoutput without a group parameter would throw an error). This coding method has quite a few consequences

RE: cfloop vs cfoutput - THE WINNER IS...

2001-05-10 Thread Kola Oyedeji
with a query attribute IS easier to use if it suits your needs) ~Simon -- Personally, use what you like. I have not found any measurable difference in performance between CFOUTPUT and CFLOOP. If performance becomes an issue, try to resolve

RE: cfloop vs cfoutput

2001-05-10 Thread Philip Arnold - ASP
Sorry for the crosspost (had conflicting answers from other lists) but is there a consensus on which method of looping over a query is fastest? cfloop or cfoutput.. OK, I know you've posted a Winner post, but here's the reasoning behind why CFOutput is slower than CFLoop When you run

RE: cfloop vs cfoutput

2001-05-10 Thread Kola Oyedeji
Thanks for clearing that up for me KOla -Original Message- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: 10 May 2001 12:03 To: CF-Talk Subject: RE: cfloop vs cfoutput Sorry for the crosspost (had conflicting answers from other lists) but is there a consensus on which

cfloop vs cfoutput

2001-05-09 Thread Kola Oyedeji
Sorry for the crosspost (had conflicting answers from other lists) but is there a consensus on which method of looping over a query is fastest? cfloop or cfoutput.. Cheers KOLa ~~ Structure your ColdFusion code with Fusebox. Get the official

Re: cfloop vs cfoutput

2001-05-09 Thread Michael Lugassy
ofcourse cfoutput, that's why it doesn't allow alot of tags to be typed into it. it's much more faster then CFLOOP, which lets you specify every cf tag you want (CFMAIL, for example) Thanks, Michael Lugassy IT/WEB Specialist Interactive Music Ltd.

Re: cfloop vs cfoutput

2001-05-09 Thread Gregory Harris
No question on that one, CFOUTPUT beats CFLOOP by a long shot, however sometimes you have to use CFLOOP for things, like if you wish to have a CFQUERY tag in your CFOUTPUT statement which wouldn't be possible, you'd have to use CFLOOP Gregory Harris Web Developer The Stirling

RE: cfloop vs cfoutput

2001-05-09 Thread Adkins, Randy
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 12:33 PM To: CF-Talk Subject: Re: cfloop vs cfoutput No question on that one, CFOUTPUT beats CFLOOP by a long shot, however sometimes you have to use CFLOOP for things, like if you wish to have a CFQUERY tag in your CFOUTPUT statement which

RE: cfloop vs cfoutput

2001-05-09 Thread Kola Oyedeji
: Gregory Harris [mailto:[EMAIL PROTECTED]] Sent: 09 May 2001 17:33 To: CF-Talk Subject: Re: cfloop vs cfoutput No question on that one, CFOUTPUT beats CFLOOP by a long shot, however sometimes you have to use CFLOOP for things, like if you wish to have a CFQUERY tag in your CFOUTPUT statement which

Re: cfloop vs cfoutput

2001-05-09 Thread G
by this. - Original Message - From: Michael Lugassy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 12:22 PM Subject: Re: cfloop vs cfoutput ofcourse cfoutput, that's why it doesn't allow alot of tags to be typed into it. it's much more faster then CFLOOP, which

Re: cfloop vs cfoutput

2001-05-09 Thread Critter
, Critter --- Wednesday, May 09, 2001, 11:50:56 S2k, you wrote: KO Sorry for the crosspost (had conflicting answers from other lists) KO but is there a consensus on which method of looping over a query is fastest? KO cfloop or cfoutput.. KO Cheers KO KOLa

Re: cfloop vs cfoutput

2001-05-09 Thread Gregory Harris
: (949) 707-1534 FAX: (949) 707-1535 - Original Message - From: Adkins, Randy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 10:08 AM Subject: RE: cfloop vs cfoutput You can have a CFQUERY tag between CFOUTPUT/CFOUTPUT Tags I have done that many times

Re: cfloop vs cfoutput

2001-05-09 Thread Jon Hall
- Original Message - From: Critter [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 1:37 PM Subject: Re: cfloop vs cfoutput Hello Kola, This is from the Certified ColdFusion Developer Study Guide: pg 37 Tip #1 crit_quote The function of the query loop is the same

Re: cfloop vs cfoutput

2001-05-09 Thread Jon Hall
I think that has made it into Hals Helms worst practices list. Learn to use SQL joins and this is never necessary. jon - Original Message - From: Adkins, Randy [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 1:08 PM Subject: RE: cfloop vs cfoutput You can