Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0.0Release packaged
[email protected] Sun, 4 Jun 2000 14:19:29 +0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jun 04, 2000 at 01:18:05AM -0200, Manuel Lemos wrote:
> Precedence: bulk
>
> Hello thies,
>
> On 26-May-00 07:25:31, you wrote:
>
> >On Thu, May 25, 2000 at 10:20:15PM -0700, Rasmus Lerdorf wrote:
> >> > But lets move on. I talked with Evan Klinger that told me that he
> >> > added code to PHP 4 to support calls like select()/listen() to
> >> > sockets, but you guys commented out the code to have it reimplement
> >> > somehow more convinient. What's the status of that? I really could
> >> > use those functions for many interesting purposes that are useful for
> >> > Web developers (backend servers without needing Web servers and other
> >> > sorts of TCP deamons).
> >>
> >> Well, we do have some code review. Evan's code was a bit akward and needs
> >> to be cleaned up before it can go in.
>
> > evans code kept the fd_sets in globals variables in the php
> > engine and not on the script-level. i am the evil guy that did not
> > want this to hit public before it's in better shape. evan
> > agreed that his current implementation was not flexible
> > enough so i decided to take it out for the time beeing.
>
> Would it be all to make fd_sets script level variables instead of global
> variables or are there other issues that you feel that need to be
> addressed?
if somebody bring this code to a "working" state i would be more
than happy with that,. back then i just felt i was a really
bad idea to call a function select() that actually works like
select() but would only work from global-variables.
i'd like to see a more complete socket-API in php, but it
should be well-thought.
>
> BTW, does this code from Evan have anything to do with that code from Chris
> that wrote a socket listen PHP extension to develop a PHP IRC server?
i've not seen that code, but i belive - no. look al the last
100 lines in file.c and judge yourself.
>
>
> > i'm sure it will reappear in good-shape one day. anybody
> > wants to volonteer?
>
> I am too busy like everybody else, but once in a while I have some time
> free. I can take on the job in my free time, if you can guide me through
> the issues that you feel that are necessary to be address.
i think staying near to the unix socket-API would be a
GoodThing(tm). i'm sure evan could and would have done it,
but he seemed to busy back then (i hope i didn't demotivate
him) and obviously he did not need that support himself.
>
> PHP is lagging in its abilities when compared with other languages like
> Perl and Java because there is no way to make it act as backend server that
> front end scripts may connect to do assyncronous processing. I feel that
> is the way to go for it.
same here. (i'd like to have a full working gnutella node
written in php!)
tc
>
>
> Regards,
> Manuel Lemos
>
> Web Programming Components using PHP Classes.
> Look at: http://phpclasses.UpperDesign.com/[email protected]
> --
> E-mail: [email protected]
> URL: http://www.mlemos.e-na.net/
> PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
> --
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany