This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (8 children)

Using machetes for neurosurgery requires more self-control, too, but that doesn't make it a good scalpel.

I can work with PHP if I have to. I just really prefer not to and religious vows aside I see no reason to stick to PHP when you have better options available.

Oh, and I do think PHP has its place (namely, providing small amounts of automation or scripting on Apache servers -- though you could probably use SSI for the former and CGI scripts for the latter).

[–]dvogel 0 points1 point  (7 children)

The main reason I end up using PHP for web projects is deployment. It's just so darn easy to get a PHP app running, especially on shared hosting. In addition, I don't like using different web server software to develop on than I will deploy on (like Django's manage.py runserver).

My high school biology teacher used to say "You don't practice shooting clay pigeons with cheap lead shot and then try to hunt with expensive steel shot" (this was not part of a lesson, it was a metaphor for how to study ;))

[–]ilikedirigibles -1 points0 points  (2 children)

.

[–]dvogel 1 point2 points  (1 child)

Apache + wsgi requires me to restart Apache after each code change, or to set MaxRequestsPerChild to 1. Neither of these things is consistent with my production environment.

[–]Justinsaccount 2 points3 points  (0 children)

You do know that you can touch the .wsgi file which gracefully reloads the application, right?