Live data from Hacker News

PHP in a JavaScript world

blonde.net

21–30 of 61 posts

Re: PHP in a JavaScript world

#21
post #5

Earlier quoted context omitted.

https://ghost.org/

https://news.ycombinator.com/item?id=10127715 "I will be honest. I use ghost as my blogging platform for about a year, and in comparison to wordpress... it just doesn't hold up. Everything from stuff as big as upgrading, mid range as plugins, and even simple things like spell check were overlooked (at least in the version I have). It kind of reminds me of the Pepsi Vs. Coke test. Went to it for that initial appeal of…

I agree from my experience with Ghost but attribute it to being a young platform.

Re: PHP in a JavaScript world

#23

Earlier quoted context omitted.

That's not true for a simple reason : Many people who use these front-end tools, still use PHP to build website (like I do)

Sure. And lots of people that use Rails still use it to communicate with Java-based backend systems. That doesn't mean that Rails isn't Ruby's "killer app."

Sorry i wasn't clear. I don't deny these front tools are node's killer app (they obviously are). I deny it is enough to make node replace php.

Re: PHP in a JavaScript world

#24
post #10

Earlier quoted context omitted.

It's not open source, i cannot checkout it and start building something with it...

Ghost is open source. http://github.com/tryghost/ghost

Oh thank you for correcting me. I just saw the free trial things.. that has remind me wordpress.. and I run out..

Re: PHP in a JavaScript world

#26
post #9

Earlier quoted context omitted.

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.

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.

> 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

#27
post #25
post #20

Python was supposed to kill PHP. Ruby on Rails was supposed to kill PHP. Now Javascript is supposed to kill PHP? Not a chance, at least in the near future.

Yeah I need my job !

Now, that's the attitude. Learn one language and pray not to be killed.

Re: PHP in a JavaScript world

#29
post #20

Python was supposed to kill PHP. Ruby on Rails was supposed to kill PHP. Now Javascript is supposed to kill PHP? Not a chance, at least in the near future.

We'll always have PHP like we still have MUMPS.

Re: PHP in a JavaScript world

#30
post #7
post #2

Wordpress, drupal, magento, phabricator, mediawiki, sugarcrm... These are vastly popular, feature rich out of the box tools in PHP, aka the "killer apps". As I don't follow the node community, what are the killer apps on the node side? Im talking about a complete piece of software, where I would want to set up an environment not for development but for running an application.

Personally, I'd say that the front-end tooling ecosystem constitutes the "killer app": - Minification: Uglify - Transpilation: Babel/TypeScript/CoffeeScript - JS Module Systems: Require/Browserify/Webpack/JSPM - CSS preprocessors: Less/Sass/Stylus - Linting: JSHint/ESLint/CSSLint If you're using a lot of front-end tools, you're using Node. And if you're using Node, you might as well use it to write your APIs.

> And if you're using Node, you might as well use it to write your APIs.

No, not when I have access to all kinds of other languages, frameworks, libraries, etc to choose from on the server side.

Post reply on HN