DEV Community

Discussion on: Choosing PHP in 2018

Collapse
 
ben profile image
Ben Halpern

PHP is backed by projects/companies that cover the entire spectrum of web development. Its ecosystem seems alive and thriving. I haven't used PHP in years but I kind of want to dip back into it.

Collapse
 
perttisoomann profile image
Pert Soomann

I swear the dev circle-of-life is about 3-5 years long - you wait long enough and what ever you are doing is going to be the hip thing again.

Collapse
 
okolbay profile image
andrew

I havent laughed so hard for a long time

try launching webserver with bare php?
try running gRPC server?
message queue comsumer, cli script - dont forget to stick it into supervisor to restart, if you dont want it to leak memory. kafka consumers anyone? reactive services?
php doesn’t cover entire spectrum, its barely covering specific bit of web development, competing with Ruby (RAD MVC)
excellent web frameworks mentioned in article are few years behind the rest of the industry

Collapse
 
itsdarrylnorris profile image
Darryl Norris

I love the native (since PHP7) type hinting support. If can make type hinting into your company standard this will bring a lot of bugs into the light. Also, the beauty is that does not need an external library like TypeScript or Flow.

Collapse
 
fmertins profile image
Fernando Mertins

declare(strict_types=1);
:-D

Collapse
 
restoreddev profile image
Andrew Davis

The amount of companies using PHP is amazing. It may not have the Silicon Valley brand names like Microsoft or Amazon, but it’s used by more large companies than I think the average programmer realizes.

Collapse
 
itsdarrylnorris profile image
Darryl Norris

In Silicon Valley, there is a lot of people hate PHP. However, there are a still a lot of startups using it, or they are using it on a product like Drupal or WordPress.

Facebook was built using PHP, then they wrote another language, which the syntax is similar to PHP.

If you are curious about this language: hacklang.org/

Thread Thread
 
olal profile image
(β“žβ“›β“β“› πŸ‡°πŸ‡ͺ II)

You forgot to mention Slack

Thread Thread
 
itsdarrylnorris profile image
Darryl Norris

I forgot to mention slack. Here is a good article about PHP from slack slack.engineering/taking-php-serio...

Collapse
 
okolbay profile image
andrew

you are not facebook
when opted for php and finding yourself knee deep in ehm, php, you won’t have resources to develop HVVM or new language on top, which solves your problem with php.

so until you are facebook, consider variety of other stack options out there )