Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-23 Thread Stefan Marr
Hi: On 19 Apr 2011, at 09:18, Stas Malyshev wrote: > 2. Traits - I remember there was some unfinished business there? I am not aware of anything that could not be fixed before an alpha release. However, I would really appreciate if the community could commit to some release procedure and schedu

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Richard Quadling
2011/4/20 Johannes Schlüter : > > > On 04/20/11 04:18 PM, Dave Ingram wrote: >> >> On 04/19/11 15:44, Michael Morris wrote: >>> >>> watch ($var) ->  $var is sent to the console on the line this statement >>> is >>> made with the statment "now watching 'var'.. init value "x", and then >>> each >>> t

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Richard Quadling
On 20 April 2011 15:18, Dave Ingram wrote: > On 04/19/11 15:44, Michael Morris wrote: >> watch ($var) -> $var is sent to the console on the line this statement is >> made with the statment "now watching 'var'.. init value "x", and then each >> time it changes it is updated in the console. > Just m

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Johannes Schlüter
On 04/20/11 04:18 PM, Dave Ingram wrote: On 04/19/11 15:44, Michael Morris wrote: watch ($var) -> $var is sent to the console on the line this statement is made with the statment "now watching 'var'.. init value "x", and then each time it changes it is updated in the console. Just my 0.02 as

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Dave Ingram
On 04/19/11 15:44, Michael Morris wrote: > watch ($var) -> $var is sent to the console on the line this statement is > made with the statment "now watching 'var'.. init value "x", and then each > time it changes it is updated in the console. Just my 0.02 as a user, but it strikes me that watch() co

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Matthew Weier O'Phinney
On 2011-04-20, Michael Morris wrote: > --e0cb4e43cce199248e04a15872c6 > Content-Type: text/plain; charset=ISO-8859-1 > > Those userland solutions (I've written a few myself) send the output > as part of the html file that is being composed, or they write it to a > file which you then later open up

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Jordi Boggiano
On 20.04.2011 14:24, Johannes Schlüter wrote: > > > On 04/20/11 02:05 PM, Michael Morris wrote: >> This takes advantage of the fact that this CLI client, which >> will*not* be >> running as a daemon, will have an open terminal window for it for as >> long as >> it persists until the process is s

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Johannes Schlüter
On 04/20/11 02:05 PM, Michael Morris wrote: This takes advantage of the fact that this CLI client, which will*not* be running as a daemon, will have an open terminal window for it for as long as it persists until the process is stopped with CTRL-C. Sending output to that terminal window would

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-20 Thread Michael Morris
Those userland solutions (I've written a few myself) send the output as part of the html file that is being composed, or they write it to a file which you then later open up. Which is fine. This takes advantage of the fact that this CLI client, which will *not* be running as a daemon, will have a

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-19 Thread David Muir
I'm not sure if this is needed when there are already solutions for this. eg, syslog, error_log, or other userland solutions like Zend_Log, sfLogger, etc. Cheers, David On 19/04/11 23:44, Michael Morris wrote: > Pardon me for following up my own post, but there is room for a range of > functions

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-19 Thread Michael Morris
Pardon me for following up my own post, but there is room for a range of functions here other than trace that could send their output to the command line where the server was started. watch ($var) -> $var is sent to the console on the line this statement is made with the statment "now watching 'va

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-19 Thread Michael Morris
Since the goal of this is debugging might I suggest borrowing a statement from the Adobe Flash environment: trace. Trace sends output to the debug console. If given a variable it would format it as print_r currently does. When encountered by PHP in other modes it would be silently ignored. Tho

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-19 Thread Michael Wallner
On 04/17/2011 01:17 AM, Philip Olson wrote: Greetings Moriyoshi and all, Are people still thinking about this? And how about applying the current/revised patch to trunk thus making it easier to play with and break, but not freeze its features/API yet. Also the wiki is up again so: - RFC: ht

Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-19 Thread Stas Malyshev
Hi! Is there any thought that we might stop throwing things into trunk soon and start thinking about some sort of release? Definitely yes. We have some TODO list for that but I think time has arrived to get it going. The most major things: 1. Scalar typing. I think we need to do a feature b

RE: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-18 Thread Andi Gutmans
> -Original Message- > From: a...@adamharvey.name [mailto:a...@adamharvey.name] On Behalf > Of Adam Harvey > Sent: Monday, April 18, 2011 8:26 AM > To: internals Mailing List > > Is there any thought that we might stop throwing things into trunk soon and > start thinking about some s

Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-18 Thread Adam Harvey
2011/4/19 Ferenc Kovacs : > 2011/4/18 Johannes Schlüter >> Only thing for trunk to be done besides stabilization and such is >> agreeing on the type hint stuff (and if we can't agree at least agree to >> disagree for the moment and get the release out of the door). Currently >> we still have the l

Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-18 Thread Ferenc Kovacs
2011/4/18 Johannes Schlüter > +1 > > Only thing for trunk to be done besides stabilization and such is > agreeing on the type hint stuff (and if we can't agree at least agree to > disagree for the moment and get the release out of the door). Currently > we still have the language extension wh

Re: [PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-18 Thread Johannes Schlüter
+1 Only thing for trunk to be done besides stabilization and such is agreeing on the type hint stuff (and if we can't agree at least agree to disagree for the moment and get the release out of the door). Currently we still have the language extension which looks like another syntax but does no

[PHP-DEV] Releases, trunk, policy and the wardrobe (Was: Re: [PHP-DEV] RFC: built-in web server in CLI.)

2011-04-18 Thread Adam Harvey
On 17 April 2011 07:17, Philip Olson wrote: > Are people still thinking about this? And how about applying the > current/revised patch to trunk thus making it easier to play with and break, > but not freeze its features/API yet. As much as I like this idea — and I really, genuinely, enthusiasti

RE: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-17 Thread Andi Gutmans
n; Moriyoshi Koizumi; Christopher Jones; internals Mailing List > Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. > > On 17 April 2011 15:51, Mikael Fernandus S wrote: > > As a non core dev, I would like to say that the patches are so handy > > and this feature will

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-17 Thread Richard Quadling
On 17 April 2011 15:51, Mikael Fernandus S wrote: > As a non core dev, I would like to say that the patches are so handy > and this feature will be so helpful in portable php development > scenarios. > +1 on this and hoping it will make into the main branch pretty soon. > > Similar with others, my

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-17 Thread Mikael Fernandus S
As a non core dev, I would like to say that the patches are so handy and this feature will be so helpful in portable php development scenarios. +1 on this and hoping it will make into the main branch pretty soon. Similar with others, my suggestion is to put the docroot and router script as parts o

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-04-16 Thread Philip Olson
Greetings Moriyoshi and all, Are people still thinking about this? And how about applying the current/revised patch to trunk thus making it easier to play with and break, but not freeze its features/API yet. Also the wiki is up again so: - RFC: https://wiki.php.net/rfc/builtinwebserver - P

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
On Fri, Mar 4, 2011 at 11:17 AM, Christopher Jones wrote: > > > On 03/02/2011 12:55 PM, Moriyoshi Koizumi wrote: >> >> Hi, >> >> Just to let you know that I wrote a RFC about built-in web server >> feature with which PHP can serve contents without a help of web >> servers.  That would be handy for

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Christopher Jones
On 03/02/2011 12:55 PM, Moriyoshi Koizumi wrote: Hi, Just to let you know that I wrote a RFC about built-in web server feature with which PHP can serve contents without a help of web servers. That would be handy for development purpose. If interested, have a look at http://wiki.php.net/rfc/b

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Lester Caine
Derick Rethans wrote: In short, if you need to configure it more, it'd be better off > installing Apache to do the right job. I would like to cover just a > marginal part of the developer needs with this. I like it being small and simple as well. Sometimes "forcing" people to use one method a

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Derick Rethans
On Thu, 3 Mar 2011, Moriyoshi Koizumi wrote: > In short, if you need to configure it more, it'd be better off > installing Apache to do the right job. I would like to cover just a > marginal part of the developer needs with this. I like it being small and simple as well. Sometimes "forcing" peop

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
Hi, 2011/3/3 Ángel González : > Moriyoshi Koizumi wrote: >>> Regarding the patch (https://gist.github.com/835698): >>> I don't see a switch to disable the internal parse on configure. >> I don't see any obvious reason it should be able to be turned off >> through the build option.  The only proble

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Moriyoshi Koizumi
Hi, On Thu, Mar 3, 2011 at 3:35 PM, Alexey Zakhlestin wrote: > On Wed, Mar 2, 2011 at 11:55 PM, Moriyoshi Koizumi wrote: >> Hi, >> >> Just to let you know that I wrote a RFC about built-in web server >> feature with which PHP can serve contents without a help of web >> servers.  That would be ha

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-03 Thread Ángel González
Moriyoshi Koizumi wrote: >> Regarding the patch (https://gist.github.com/835698): >> I don't see a switch to disable the internal parse on configure. > I don't see any obvious reason it should be able to be turned off > through the build option. The only problem is binary size increase, > which I

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-02 Thread Alexey Zakhlestin
On Wed, Mar 2, 2011 at 11:55 PM, Moriyoshi Koizumi wrote: > Hi, > > Just to let you know that I wrote a RFC about built-in web server > feature with which PHP can serve contents without a help of web > servers.  That would be handy for development purpose. > > If interested, have a look at http://

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-02 Thread Moriyoshi Koizumi
2011/3/3 Ángel González : > Moriyoshi Koizumi wrote: >> Hi, >> >> Just to let you know that I wrote a RFC about built-in web server >> feature with which PHP can serve contents without a help of web >> servers.  That would be handy for development purpose. >> >> If interested, have a look at http:/

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-02 Thread Ángel González
Moriyoshi Koizumi wrote: > Hi, > > Just to let you know that I wrote a RFC about built-in web server > feature with which PHP can serve contents without a help of web > servers. That would be handy for development purpose. > > If interested, have a look at http://wiki.php.net/rfc/builtinwebserver

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-02 Thread Pierre Joye
On Wed, Mar 2, 2011 at 9:59 PM, Rasmus Lerdorf wrote: > On 3/2/11 12:55 PM, Moriyoshi Koizumi wrote: >> Hi, >> >> Just to let you know that I wrote a RFC about built-in web server >> feature with which PHP can serve contents without a help of web >> servers.  That would be handy for development pu

Re: [PHP-DEV] RFC: built-in web server in CLI.

2011-03-02 Thread Rasmus Lerdorf
On 3/2/11 12:55 PM, Moriyoshi Koizumi wrote: > Hi, > > Just to let you know that I wrote a RFC about built-in web server > feature with which PHP can serve contents without a help of web > servers. That would be handy for development purpose. > > If interested, have a look at http://wiki.php.net