RE: [PEAR-DEV] Application level variables
| From: | Richard Heyes | Date: | Fri, 28 Dec 2001 15:15:17 +0000 |
| Subject: | RE: [PEAR-DEV] Application level variables | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3718@lists.php.net to get a copy of this message | ||
> > Just created a class which using the PEAR Cache stuff implements
> application
> > level variables. You can take a look at it here:
> >
> > http://www.phpguru.org/pear/Application.phps
> >
> > I was thinking of committing it as Cache/Application.php. Any
> > comments/suggestions etc?
>
> Cool. Really cool.
> This is what I have been missing from JSP, application scope variables.
>
> Unfortunately, the link to the source does not work.
> Can you explain how does it work in brief, where are the variable=>value
> pairs stored?
Ok fixed now. The data can be stored using any of the cache containers, so
either
db, dbx, shm, phplib or file the default being file.
--
Richard Heyes
"If you have any trouble sounding condescending,
find a Unix user to show you how it's done." - Scott Adams