Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11084

Re: Best strategy for creating an application scoped variable?

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.lang.php
Subject Re: Best strategy for creating an application scoped variable?
Date 2011-01-28 20:39 -0600
Organization A noiseless patient Spider
Message-ID <slrnik6ve8.2mh.hellsop@nibelheim.ninehells.com> (permalink)
References (1 earlier) <slrnik4b43.2mh.hellsop@nibelheim.ninehells.com> <ihtcu7$hv6$1@news.eternal-september.org> <4d42714a$0$13840$bed64819@gradwell.net> <ihui5h$p19$1@news.eternal-september.org> <15f75448-6a82-458e-98a5-0aa107250dc3@n2g2000pre.googlegroups.com>

Show all headers | View raw


On Fri, 28 Jan 2011 07:17:17 -0800 (PST), laredotornado@zipmail.com wrote:
> Actually, I really like the idea of creating the file with the
> database data already written to it, provided including that file
> would be faster than making a call to the database for every page
> request.  Thanks for all the ideas, - Dave

I wouldn't bet much money on that. Clever databases cache things much
more specifically than the limited amount of caching an OS can do.
Especially since databases can be indexed, and small enough indexes can
end up residing entirely in the cache....

-- 
50. My main computers will have their own special operating system that
    will be completely incompatible with standard IBM and Macintosh 
    powerbooks.
	--Peter Anspach's list of things to do as an Evil Overlord

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Best strategy for creating an application scoped variable? Jerry Stuckle <jstucklex@attglobal.net> - 2011-01-28 09:00 -0500
  Re: Best strategy for creating an application scoped variable? Jerry Stuckle <jstucklex@attglobal.net> - 2011-01-28 10:32 -0500
  Re: Best strategy for creating an application scoped variable? "Peter H. Coffin" <hellsop@ninehells.com> - 2011-01-28 20:39 -0600
  Re: Best strategy for creating an application scoped variable? "laredotornado@zipmail.com" <laredotornado@zipmail.com> - 2011-01-28 07:17 -0800

csiph-web