Re: Persistent PHP web application?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>
>>>From my PHP library I use shm_put_var() and shm_get_var().  If
>> serialization is done this way then it is implicit... right?
>
> Yes, these functions serialize/unserialize behing the scenes.
>
> -Rasmus


Hi, has anyone got an example on howto use the shared memory functions ? I
currently serializeobjects of classes so they are cache and dont have to be included upon
each request, i store thesein a session , its in a function called import heheh , so
import('Package_Class'); , will get a class ina directory Package/Class.php with the class name Package_Class , and
store that in a session.
would it be a quicker solution when unserializing to use the shared memory
functions instead ?
Let me know

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux