>A ColdFusion query is a data structure, not an object. It's an important >distinction. Nevertheless, I understand what you're saying.
Acutally, I think the proper description would be that the CF Query object is an object wrapping a data structure, but I think we're really just discussing semantics here :) The CFQuery object itself (coldfusion.sql.QueryTable) has much more functionality than is revealed by default - here are some of the other undocumented CFQuery members - a CFDUMP reveals even more: http://www.cfdev.com/mx/undocumentation/query.cfm I think we're actually agreeing, but disagreeing on trivial points ;) >Ahh. I understand now. This is exactly why we need to use common >terminology. A ColdFusion query is a data structure. It has several >immutable properties which the caller cannot directly manipulate (like the >recordCount and columnList). However, it's still not much more than a >structure of arrays. See above :) I believe this all depends on how you use it. >Anyway, the point I'm trying to make is that there's far more patterns out >there than data access objects, business objects, and beans. In fact, most >developers don't even use the term DAO in the same sense. :) Some of these >patterns are more efficient at dealing with larger result sets. In fact, >that's the whole reason some of them exist. I think that your statement is exactly what I was trying to express from the get-go :) It just seems sometimes that people have accepted certain patterns as the only way (or the only "right" way) to do something, and I was trying to illustrate that, lest we forget, that is not the case :) This is especially important as people *finally* start using CF in a more OO fashion. Cheers, and thanks for the lively discussion! Roland ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
