Re: Re: Persistent global data ?
| From: | Mathias Rockel | Date: | Wed, 15 Jan 2003 09:35:46 +0000 |
| Subject: | Re: Re: Persistent global data ? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131665@lists.php.net to get a copy of this message | ||
Hi!
This looks VERY interesting, it seems to be exactly what the Application
Object does for ASP, and thats exactly what I need ... now I just have to
hope that this version is stable enough ...
many thanks !
mathias rockel
----- Original Message -----
From: "Tamas Arpad" <sts@mail.xubion.hu>
To: "Mathias Rockel" <mr.php@pfaffendorf-consulting.com>;
<php-general@lists.php.net>
Sent: Tuesday, January 14, 2003 6:11 PM
Subject: Re: [PHP] Re: Persistent global data ?
> > So this is the only way I guess ...
> >
> > Do you propose to serialize() the objects in the tree and write that
data
> > into a shared memory block, and then deserialize them at the beginning
of
> > each script that needs the data back into objects ? I would think that
that
> > would impose the same performance penaltys from creating the objects
again
> > (this seems to be what slows php down), only the reading process ist
sped
> > up ... not exactly what I would like, but seems PHP provides no other
> > functionality ...
> >
> > mathias rockel
> There's another way with srm:
> http://www.vl-srm.net/doc/features.application-vars.php
> But I don't know if it's still maintaned.
>
> Arpi
>