That's simply not true. I love Python (I'm using Flask for projects at this moment), but saying that setting up a python web service is as easy as php is disingenuous.
I severely doubt it's as easy as the latter. I'd like to see an article that explains in less than 140 chars how to deploy a simple app as Hello World to the web in Python without the use of a framework like Django or Flask.
Edit: In the amount of chars Twitter accepts, here's how to get Hello World going in PHP.
sudo apt-get install php5 && echo '<?php echo "hello world"; ?>' > /var/www/index.php
85 characters. I'm done. Now let's see this done in Python... Ruby... Any other popular language this quickly.
echo "hello world" > index.html && python -m SimpleHTTPServer
:) gem install sinatra && echo "require 'sinatra';get '/' do 'Hello, world!';end" > hi.rb && ruby hi.rb
100 characters.I haven't touched python in too many months to write it here, but it's not much harder than importing an http package, creating a two line handler and listening for connections. Now you have a much more realistic and robust system and your potential for applications is already hugely increased. (Write a websocket server in php, go on).
Here, I can write "Hello World" in an even easier language!
`cat "Hello World" > index.html`
Exactly, who cares?
echo 'hello world' > /var/www/index.html
Set up something a little more useful albeit trite such as a blog and you wouldn't be able to do that in 10 minutes with PHP without using a framework either. PHP is great for "unit testing" of ideas but once it grows out of that it's debateable
I do concur that deploying a Python or Ruby web app is a pain in the ass. Installing git and installing Heroku, you're only 2 lines of code away though.
Which requires you to learn git.
You're saying that learning Git is going to be the barrier to someone switching to Ruby? Naw, don't think so.
Wait, that didn't work. I got all kinds of errors and warnings. I must have the wrong version of something. You win, point taken.
There should be an easier way. I should be able to just run "apt-get install rails-easy" and have a system that is completely configured for development.