I use structures extensively, quite often for doing just what you describe -
caching database information in the server memory so I don't have to go back
to the database for info that I know won't change regularly (like values in
code tables).

My understanding is that CF also processes structures and arrays faster than
text strings, so if you are looking to boost performance, and you are
storing anything in a list, you might see an improvement by using a
structure or an array instead of a list.

I'm a bit busy right now with a deadline, but I'll post some examples of
stuff I've done with structures within the next day or two (or perhaps
someone will beat me to that).

Any specific questions you may have I'd be happy to try to answer.

Bob

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Shane Von Svoboda
> Sent: Thursday, 14 February 2002 8:51 a.m.
> To: [EMAIL PROTECTED]
> Subject: [CFTALKTor] CF Structures
>
>
> I have a question about Structures. Does anyone use structures
> extensively through their CF code besides the use of ColdFusion's
> Session, application, cookie variables etc...? There seems to be more
> and more emphases on getting as much data from a database and storing it
> in memory where it can be easily accessed and manipulated the quickest.
> There seems to be many different ways of creating structures and
> combining them with arrays and other structures but I find them a little
> complex. In most situations I have never needed the use of structures
> and I was wondering how much they are used. I'm trying to find as many
> ways to code my CF templates so I get the best output performance from
> ColdFusion Server.
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Shane Von Svoboda"
> <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>



-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Bob Silverberg" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to