Thanks for the input Tom.

In regards to Iterators, I honestly feel like they should not have been put
into the framework in the way they were.  The actual Iterator object is
tasked with WAY to much to do.  So, even though it tries to be efficient
it's still a pig at even the most basic functions.  That's why I suggest
avoiding them.

That said, if you have a small data set that you really need to get Records
for then Iterators are OK.  Really, use them with caution.

With regards to your suggestions, why don't you just write your query out?
Wouldn't you know your table names before you write your SQL?

-- 
Doug Hughes, President
Alagad Inc.
[EMAIL PROTECTED]
888 Alagad4 (x3)
Office: 919-550-0755
Fax: 888-248-7836


On 1/18/08, Tom Chiverton <[EMAIL PROTECTED]> wrote:
>
> On Thursday 17 Jan 2008, Doug Hughes wrote:
> > 1) Avoid iterators
>
> ...if the data set is large and/or you only need a few of them ?
> I assume you suggest a custom gateway method instead ?
>
> > 2) Keep reactor in production mode during development and manually
> delete
> > generated classes you want to regerenate.
>
> +1 to that.
>
> > 4) Write your own gateway methods and use those instead of OO queries.
>
> Esp. if it's more than just some where clauses.
>
> > Any other ideas or suggestions?
>
> http://rachaelandtom.info/node/1484
>
> --
> Tom Chiverton
> Helping to proactively embrace visionary patterns
> on: http://thefalken.livejournal.com
>
> ****************************************************
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England
> and Wales under registered number OC307980 whose registered office address
> is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3
> 3EB.  A list of members is available for inspection at the registered
> office. Any reference to a partner in relation to Halliwells LLP means a
> member of Halliwells LLP.  Regulated by The Solicitors Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged.  If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
> Reactor for ColdFusion Mailing List
> [EMAIL PROTECTED]
> Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> -- --
>
>


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[EMAIL PROTECTED]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to