[Theforum] [---Dev] RE: [---tent] Article cleanup issue

Matt Liotta mliotta at r337.com
Tue Jul 23 22:03:22 CDT 2002


The problem is that looking at the CF code doesn't really help as there
is nothing inherently wrong with it. Sure it could have been architected
different to be more scalable and extensible, but the code itself is not
bad. I am quite sure this is a database issue alone. It shouldn't take
long to figure out what changes need to be made to the SQL and/or schema
to fix it.

Matt Liotta
President & CEO
Montara Software, Inc.
http://www.montarasoftware.com/
V: 415-577-8070
F: 415-341-8906
P: 4155778070 at messaging.sprintpcs.com

> -----Original Message-----
> From: theforum-admin at lists.evolt.org [mailto:theforum-
> admin at lists.evolt.org] On Behalf Of Morgan Kelsey
> Sent: Tuesday, July 23, 2002 7:54 PM
> To: theforum at lists.evolt.org
> Subject: Re: [Theforum] [---Dev] RE: [---tent] Article cleanup issue
>
> john,
>
> ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > > >     You're also continuing to load over 800 records into
> > > >     an array *after* it's already got all the records
> > > >     you need.
> > > ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > >
> > > huh?  where am i loading those records in to an array?
> >
> > Sorry, I'm assuming that a script which receives 902
> > rows as a result is processing them as an array once
> > they get there.  My turn to go 'huh?' then :-)
> >
>
> CF loads queries into a special query object, you don't have to assign
the
> result set to an array as you do in PHP. The benefits being that you
can
> reference the query in structure notation, and recursive output is
> 'built-in' when you output with nested cfoutput tags. another plus, is
> that
> the array isn't destroyed once you've looped over it, as it is php.
>
> i'd suggest people go have a look at the source code, it's freely
> available:
> http://sourceforge.net/projects/thecode/
>
>
> nagrom
>
>
> ---
> evolt.org wiki: http://freezope2.nipltd.net/acorn/evolt/
> -
> How can you help?
> http://freezope2.nipltd.net/acorn/evolt/FactFindingMission




More information about the theforum mailing list