Jacob, There are a bunch of php caching classes available. Basically, the classes usually serialize any object to a text representation and store that in a file. The serialization and deserialization to from file is very quick and once you have the class, performing the process is usually a one liner.
Here is an example. http://www.zend.com/zend/spotlight/code-gallery-wade4.php?article=code-gallery-wade4&kind=sl&id=1899&open=&anc=0&view=1 Its not as easy as using the application scope but it does work. DRE On 11/14/06, Munson, Jacob <[EMAIL PROTECTED]> wrote: > > > > I'm trying to think how I would live without the application > > > scope...hard to fathom. What do they do, store application > > > level stuff > > > in files or DBs? > > > > Every PHP guy I've spoken with uses a config file of some sort. > > Ok, but that doesn't help for caching application level data. For > example, to speed CFQuickDocs up, I put the data in server memory using > the application scope. Then when /any/ site user does a query, it pulls > directly from memory. And, it's insanely easy to do this: > > <cfset application.cftagsquery = variables.cftagsquery> > > but how would you accomplish such a thing in PHP? It's probably > possible, but with a lot of code. Or maybe it's not possible? > > > --------- > > > ------------------------------------------------------------------------------ > This transmission may contain information that is privileged, confidential > and/or exempt from disclosure under applicable law. If you are not the > intended recipient, you are hereby notified that any disclosure, copying, > distribution, or use of the information contained herein (including any > reliance thereon) is STRICTLY PROHIBITED. If you received this transmission > in error, please immediately contact the sender and destroy the material in > its entirety, whether in electronic or hard copy format. Thank you. > > > ============================================================================== > "EMF <idahopower.com>" made the previous annotations. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260346 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4