Hacker News new | ask | show | jobs
by icedchai 4534 days ago
Exactly. You don't need a 'router' when you have the filesystem and mod_rewrite.
1 comments

What about when you are deploying with PHP-FPM or HipHopVM? A native routing component separates your application from your application server.
Using mod_rewrite (or the nginx equivalent) with PHP-FPM will work fine. I don't see why it wouldn't work with HipHopVM either.

In over 10+ years of PHP development I have never needed a "native routing component". Call me crazy...