News for hackers. Stuff that matters.
Re:PHP in a JavaScript world by maratd on Thursday August 27, 2015 @12:22PM (#10130342)
PHP today is overwhelmingly being used to augment/modify:

> Wordpress, drupal, magento, phabricator, mediawiki, sugarcrm...

Very few apps are built from scratch using PHP unless the intention is to share the application code like wordpress, drupal, etc.

On Node, you're almost always building from scratch, rather than creating plugins for an existing application.

Apples and oranges. Different use cases.

Re:PHP in a JavaScript world by debaserab2 on Thursday August 27, 2015 @12:30PM (#10130398)
Very few? There's plenty of apps out there written in PHP. You can do the same thing in PHP as you can in node. Writing from scratch is no greater of a use case for using node than it is for PHP.
Re:PHP in a JavaScript world by maratd on Thursday August 27, 2015 @12:46PM (#10130521)
> There's plenty of apps out there written in PHP.

Yes, there are. I didn't say there weren't. I think PHP is great, relax.

In my professional experience, however, I don't see people start a codebase from scratch in PHP anymore. It's almost always based on Node.

Re:PHP in a JavaScript world by debaserab2 on Thursday August 27, 2015 @02:10PM (#10131036)
> Very few apps are built from scratch using PHP unless the intention is to share the application code like wordpress, drupal, etc.

Err.. that's exactly what you said, no?

Well, yeah, if you work in a shop where node is the goto solution on the server side, that's going to be your experience.

Re:PHP in a JavaScript world by Killswitch on Thursday August 27, 2015 @01:06PM (#10130647)
I disagree. Laravel is a huge community, and that's just a framework, lots of people writing things from scratch in PHP still.
Re:PHP in a JavaScript world by meritt on Thursday August 27, 2015 @12:59PM (#10130598)
There's plenty being built new on PHP today. Language allegiance is highly dependent upon age and location of the programmers in question.
Re:PHP in a JavaScript world by audessuscest on Thursday August 27, 2015 @12:32PM (#10130419)
well, most node apps rely on many node lib, which is not very different than relying on a framework like symfony.