On Tue, Nov 19, 2024, at 5:56 AM, Michał Marcin Brzuchalski wrote:
> Hi Larry,
>
> niedz., 17 lis 2024 o 08:24 Larry Garfield
> napisał(a):
>> ...
>> I can see the benefit of an inline constructor. Kotlin has something
>> similar. But I can see the benefit of it for all classes, even service
I have now opened the vote on the PHP.net Analytics RFC. The vote will close
on 4 December.
https://wiki.php.net/rfc/phpnet-analytics
--
Larry Garfield
la...@garfieldtech.com
On 19/11/2024 23:14, Rowan Tommins [IMSoP] wrote:
On 19/11/2024 13:48, Hammed Ajao wrote:
So if symfony and laravel do this, whose best practices are we going
by exactly, yours?
One common citation for this is "The Twelve-Factor App"
[https://12factor.net/], a methodology/manifesto publish
On 19/11/2024 13:48, Hammed Ajao wrote:
So if symfony and laravel do this, whose best practices are we going
by exactly, yours?
One common citation for this is "The Twelve-Factor App"
[https://12factor.net/], a methodology/manifesto published in 2011 by
some engineers from Heroku as a way
I don't understand why an application should not know which environment it is running in? You should be able to instruct a frontend where to look for a backend, depending on the environment it is running in. What best practice are you referring to? And may I ask why the PHP built-in server was crea
> Why couldn't you just do>> ```php> if (php_sapi_name() === 'cli-server') {> $_ENV['APP_ENV'] = 'development';> }> ```>> in your entry point script?In fact this is pretty much how I currently handle the situation. Of course it can be handled in the entry point script.My point is, would the bui
Hi, all!
Just a friendly reminder,
according to the supported versions page [1],
active support for PHP-8.2 ends on 31 December 2024.
Since our release cycle has a release falling on 19 December,
this means PHP 8.2.27 is the last bug-fix release for the 8.2 series.
Following PHP 8.2.27, PHP 8.2
> I think it would be a nice feature of PHP's built-in server to do
something similar, automatically provide a `$_ENV[APP_ENV]` variable with a
value of `development` so that the application logic knows whether it's
running on a localhost development environment rather than on a production
server.
On 19/11/2024 13:26, John D'Orazio wrote:
I don't understand why an application should not know which
environment it is running in?
I don't know if this list is the place to be discussing this, but here goes:
Typically you are injecting the environment name to have the application
switch to a
On 19/11/2024 12:52, John D'Orazio wrote:
My point is, would the built-in server ever be used for anything other
than local development? If not, then it would be a simple convenience
to developers to have an automatic environment variable of
"development" when launching the built-in server. Ins
Sorry for the typo, I meant to write 'LAMP'. I have always setup a Linux Apache MySQL PHP environment for local development. But I find that not everyone is so keen on such an involved local setup. Which is why I find the built-in server such a great convenience. It greatly simplifies the developme
On 19.11.2024 at 03:33, John D'Orazio wrote:
> […] I even recently discovered the great
> feature that was introduced in PHP 7.4 `PHP_CLI_SERVER_WORKERS`, which I
> sorely
> needed because my API makes a couple of requests internally to various paths
> of
> the API, and nested requests require m
Hi Larry,
niedz., 17 lis 2024 o 08:24 Larry Garfield
napisał(a):
> ...
> I can see the benefit of an inline constructor. Kotlin has something
> similar. But I can see the benefit of it for all classes, even service
> classes, not just records. (In Kotlin, it's used for service classes all
> t
Hi Rob and Ilia
Thank you both for your detailed proposals and the efforts you put into
shaping this important feature for PHP It is clear a lot of thought has
gone into both approaches and I appreciate the opportunity to share my
thoughts.
niedz., 17 lis 2024 o 01:17 Ilija Tovilo
napisał(a):
>
Hi Dennis,
Even though I didn't answer for a long time, I was improving my RFC
implementation in the meanwhile as well as evaluating your suggestions.
I’m worried about the side-effects that having a global
uri.default_handler could
> have with code running differently for no apparent reason, or
On Tue, Nov 19, 2024 at 12:22 AM Ilija Tovilo
wrote:
> Hi Yuancheng
>
> On Fri, Nov 15, 2024 at 2:21 PM Yuancheng Jiang <0599jian...@gmail.com>
> wrote:
> >
> > I have been submitting hundreds of bugs (see
> https://github.com/php/php-src/issues/created_by/YuanchengJiang) during
> the past months
16 matches
Mail list logo