4 ms·
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
by jameskilton 16y ago
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.
- zaidf 16y agoRuby 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).
- chc 16y agoSince 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.
- zaidf 16y agoComparing 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.
- BerislavLopac 16y agoActually, PHP is not a programming language. It's a templating language gone bazooka.
- api 16y agoHe is referring to an under-appreciated virtue of good software: installability. apt-get install php5 Usually you don't even need that.
- chc 16y agoI 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.
- jrockway 16y agoAnd if this is the argument, Perl is in Debian's default install anyway. Hell, the APT system is partially written in Perl...
- jrockway 16y agoWhat? PHP is not in the default install of, say, Debian. But Perl is.
- jrockway 16y agoActually, perl is "say 'Hello, world.'". Shorter and more readable.