Hacker News new | ask | show | jobs
by pan69 4618 days ago
The power of PHP isn't really the language but the way it integrates with Apache web server. If web server integration doesn't exist for your language, or doesn't exist on the level that PHP has it, you can design cool languages but it won't replace PHP ever.
1 comments

How about not integrating with apache at all?

With tools such as Node.JS (or Python Bottle, Haskell Yesod, etc) you simply pull your code from git, run it, and it has its own webserver included that handles routing w/o looking at a filesystem and direct execution of code instead of passing a file; which all is nice for performance.

I know. I understand. The reason for the success of PHP is that it runs on cheap shared hosting. If you want to replace PHP you need to fill that gap first, or, make it at least as "convenient" as PHP.