[PHP-DEV] Re: [PATCH] Re: [PHP-DEV] namespace examples (solving name resolutionorderissues)

2008-09-14 Thread Stanislav Malyshev
Hi! 1) check current namespace 2) autoload if possible 3) fail functions: 1) check current namespace 2) check internal 3) fail Load order would matter for functions, but the risk is worth the benefit. I believe the initial implementation of namespaces had this order for classes, so Dmitry's

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Johannes Schlüter
On Sun, 2008-09-14 at 23:21 +0200, Rustam Abdullaev wrote: > > Second and most important though, Apache isn't architected to handle long > > running processes inside a request, as it typically uses a limited pool of > > Not true.. Tomcat supports comet, and it runs on APR. Yes, the thread pool >

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
> Second and most important though, Apache isn't architected to handle long > running processes inside a request, as it typically uses a limited pool of Not true.. Tomcat supports comet, and it runs on APR. Yes, the thread pool is small, but there is always a solution. The idea is to return the

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Stan Vassilev | FM
On Sun, Sep 14, 2008 at 5:33 PM, Rustam Abdullaev <[EMAIL PROTECTED]> wrote: Hi, Is anyone working on a suspendable request support in PHP when used as a module in Apache? Suspendable requests are great for supporting Server Push technology, but are currently only supported in Jetty and Tomcat.

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
> Can you provide some scenario, when this is useful? Server Push is an http hack that enables the server to send a message to the client immediately, without the need for a client to poll the server. Basically, the client makes an XMLHTTP request to which the server doesn't answer immediately,

Re: [PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Alexey Zakhlestin
On Sun, Sep 14, 2008 at 5:33 PM, Rustam Abdullaev <[EMAIL PROTECTED]> wrote: > Hi, > > Is anyone working on a suspendable request support in PHP when used as a > module in Apache? > > Suspendable requests are great for supporting Server Push technology, but > are currently only supported in Jetty a

[PHP-DEV] PHP Suspendable requests for Apache

2008-09-14 Thread Rustam Abdullaev
Hi, Is anyone working on a suspendable request support in PHP when used as a module in Apache? Suspendable requests are great for supporting Server Push technology, but are currently only supported in Jetty and Tomcat. The API would be extremely simple, for example: suspend(string request_id,