|
> I
still don’t understand what everyone has against cfloop and cfoutput. They
even already natively support indexed rows and
columns!
Nothing at all. Well: "<cfoutput>" is a stupid name for something that is - in the case we're referring to - a looping construct (what were Allaire smoking that particular night, I wonder?), but other than that, they're fine.
There's always more than one way to skin a cat, though.
One thing about the .first(), .last(), .next(), .previous() concept is that it's a fairly broadly accepted construct outside of CFML when iterating over a collection of some description (not just CF query objects).
Another thing is that lots of folk prefer using CfScript where possible, over CFML (FOR WHATEVER REASON, LET'S NOT GET INTO THAT!!! ;-), and one can't bung a <cfloop> inside a script block. --
Adam This email contains confidential information. If you are not the intended recipient of this email, please notify Straker Interactive and delete the email. You are not entitled to use it in any way. ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- Re: [CFCDev] query object [iterator code comparison... Nathan Dintenfass
- Re: [CFCDev] query object John Farrar
- RE: [CFCDev] query object Murat Demirci
- Re: [CFCDev] query object Peter J. Farrell
- RE: [CFCDev] query object Murat Demirci
- Re: [CFCDev] query object John Farrar
- RE: [CFCDev] query object Roland Collins
- Re: [CFCDev] query object Bill Rawlinson
- Re: [CFCDev] query object Bill Rawlinson
- Re: [CFCDev] query object Aaron Rouse
- RE: [CFCDev] query object Adam Cameron
