Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I like PHP just fine, but what you just did there, was compare a language--bundled with apache even--and compared it to 2 frameworks.

It's just as easy to get mod_python working as it is mod_php.



To use WSGI (which is what most people would use instead of mod_python) you have to write some lines in your server configuration plus a script that loads your framework of choice.

Compare that to getting CodeIgniter up and running: SFTP the files into the server, and you're up. No server configuration needed.

One could argue that this is not a feature of PHP itself, but that doesn't change the fact that "normal" PHP solutions are simply faster to get up and running.


(Read my tone here is debatish and not di^kish plz)

In what circumstances does the fact that a Hello World can be setup in 5 mins versus 10 actually matter?

We spend thousands of hours developing software.

Five mins versus 10 is truly moot.

Besides, you're going to get into httpd.conf to configure a vhost before long -- mod_php or mod_wsgi -- so it's not as if it's a hands-off experience with PHP.


mod_python is kind-of a pain to get going actually, and recommended against these days.

mod_wsgi on the other hand... 4 lines in your apache config file. 6 if you're using a daemon process (which is better).


That's what I get for being poetic. I've done a lot of python development but not all that much for the web. When i have, I used Tornado. Which is also really easy to get running.

So I stand by my point!!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: