Having come to PHP from another CGI, there's one thing I really miss...
The previous tool used was Witango, which had one major difference: the
interpreter ran as a service/daemon. One benefit of this was, you could
have variables scoped at a number of different levels above the
once-only variables in PHP (i.e. sessions).
Specifically, it was possible to create variables at a system-wide and
site-wide level. I could set a value and it would be available to any
app run within that site -- a classic example would be a variable
containing the title of the site.
Can I replicate this functionality in PHP?
I'd guess that the norm in PHP is to re-read this kind of information
from a DB with *every* hit; a huge overhead.
Can PHP be run in a more "persistant " manner?
Thanks,
Jon
The previous tool used was Witango, which had one major difference: the
interpreter ran as a service/daemon. One benefit of this was, you could
have variables scoped at a number of different levels above the
once-only variables in PHP (i.e. sessions).
Specifically, it was possible to create variables at a system-wide and
site-wide level. I could set a value and it would be available to any
app run within that site -- a classic example would be a variable
containing the title of the site.
Can I replicate this functionality in PHP?
I'd guess that the norm in PHP is to re-read this kind of information
from a DB with *every* hit; a huge overhead.
Can PHP be run in a more "persistant " manner?
Thanks,
Jon
Comment