3 ms·
> The rise in popularity of Laravel making it the de-facto choice of framework within PHP. In the US. > What edge does PHP still have compared to other langua
by arkh 25d ago
> The rise in popularity of Laravel making it the de-facto choice of framework within PHP.
In the US.
> What edge does PHP still have compared to other languages?
Horizontal scaling due to the nothing shared architecture: need more perfs? Add a server. Which is an exact match with Kubernetes (replace server with replica). But usually your performance problem is not the executing code but the database.
> PHP needs to get rid of having Nginx/FastCGI as a requirement. Let PHP-FPM speak HTTP directly. If you want to terminate TLS via Nginx, it becomes a choice, not a requirement.
FrankenPHP is this.
Seems like your beef is not with php itself (aside from the compiling part) but the Laravel ecosystem. You may want to check Symfony and its ecosystem and what is being cooked outside Laravel.
- lifeofguenter 24d ago> In the US. any numbers to back this up? Laravel is very popular in EU Africa and Asia as well. > Horizontal scaling due to the nothing shared architecture Virtually no language that can be used as web stack has any restriction on horizontal scaling? Can you name one example? > But usually your performance problem is not the executing code but the database. the endless performance benchmarks would beg to differ. Sure, _any_ IO can and will be the bottleneck, but unless your code base is just 100 loc, you will see other bottlenecks. > FrankenPHP is this. so why keep fastcgi? what is the advantage over http (transport, not talking about static assets)? > Seems like your beef is not with php itself I do not have any beef with PHP or ecosystem. The complete top-half of my blog post is actually giving kudos to what makes PHP great. My main take is simply that advantages that PHP had previously are having less impact in todays world :)