News for hackers. Stuff that matters.
Re:PHP needs to die. What will replace it? by jameskilton on Monday September 27, 2010 @03:51PM (#1733079)
You are mixing your requirements really badly here: a language that's "dead simple to run" vs a language that works stupidly simple with the web.

Ruby is very easy to run: puts "Hello World"

As is perl: print "Hello World";

Php? <?php echo "Hello World"; ?> (wtf is all that crap, says the new programmer)

The point the OP is trying to make is the "stupid simple with the web" side of the equation. Of course the PHP side isn't as simple as "the language runs on the web". PHP runs on Apache because of the tons of work put into mod_php to integrated it and make it work as easy as possible.

You can't "just run" php on nginx, lighty, etc. Then you need to setup FastCGI instances, and now you're no different from Rails land with mongrels or thins.

Re:PHP needs to die. What will replace it? by api on Monday September 27, 2010 @03:59PM (#1733121)
He is referring to an under-appreciated virtue of good software: installability.

apt-get install php5

Usually you don't even need that.

Re:PHP needs to die. What will replace it? by chc on Monday September 27, 2010 @07:41PM (#1733976)
I don't understand how this is distinct from PHP's competition. Python is "apt-get install python" — two extra characters are not going to break even the greenest noob's back.
Re:PHP needs to die. What will replace it? by jrockway on Tuesday September 28, 2010 @04:11PM (#1737084)
And if this is the argument, Perl is in Debian's default install anyway. Hell, the APT system is partially written in Perl...
Re:PHP needs to die. What will replace it? by jrockway on Tuesday September 28, 2010 @04:11PM (#1737082)
What? PHP is not in the default install of, say, Debian. But Perl is.
Re:PHP needs to die. What will replace it? by zaidf on Monday September 27, 2010 @03:56PM (#1733104)
Ruby is very easy to run: puts "Hello World"

You are confusing Ruby for Ruby on Rails.

Ruby is easy to run. Ruby on Rails, not as much(relatively).

Re:PHP needs to die. What will replace it? by chc on Monday September 27, 2010 @07:43PM (#1733984)
Since he never said anything about Ruby on Rails and he was talking about languages rather than web app frameworks, I'm pretty sure he meant Ruby.
Re:PHP needs to die. What will replace it? by BerislavLopac on Wednesday September 29, 2010 @06:23PM (#1741379)
Actually, PHP is not a programming language. It's a templating language gone bazooka.
Re:PHP needs to die. What will replace it? by zaidf on Wednesday September 29, 2010 @01:50PM (#1740326)
Comparing use of Ruby to PHP is like comparing C++ to PHP. It makes little sense. We don't write web pages in C++ or Ruby. We do in PHP and RoR.
Re:PHP needs to die. What will replace it? by jrockway on Tuesday September 28, 2010 @04:10PM (#1737080)
Actually, perl is "say 'Hello, world.'". Shorter and more readable.