Re: Re: Statics and PHP5
| From: | Marcus Boerger | Date: | Mon, 16 Feb 2004 19:41:34 +0000 |
| Subject: | Re: Re: Statics and PHP5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7887@lists.php.net to get a copy of this message | ||
Hello Dave,
seems like you misunderstood the basic concept of
PHP - it is stateless. That means that no information
is propagated from one script execution to another -
or in other words we have neitehr an application server
nor persistent variables.
regards
marcus
Monday, February 16, 2004, 7:13:17 PM, you wrote:
> Hi all,
> My initial response to Jonathan has me thinking more
> about this, and a higher level. I guess I want to hear
> from the Zend guys about their intentions of PHP as an
> app server. IMHO, that's the right direction.
> For example, when PHP is loaded by the web server,
> it's only loaded once, and it should keep track of all
> the classes that get loaded, and only load them once
> (unless the file changes, say). Static variables
> should apply to the server scope (classloader). The
> way it stands right now, if all the classes are
> essential unloaded after each request, then we're
> still really close to the CGI paradigm. If I have
> 10,000 users who each use 10 pages per session, why do
> I need to load the "Foo" class 100,000 times?
> Zend guys, what are your thoughts? Was this concept
> considered and rejected? Your thought process and
> direction are important to my technology choice.
> Thanks,
> Dave
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance: Get your refund fast by filing online.
> http://taxes.yahoo.com/filing.html
--
Best regards,
Marcus mailto:helly@php.net