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

Are you implying that the front-controller pattern is bad?


No, but mod_rewrite is not the only way of implementing it. In the mentioned case, index.php would implement a front-controller. mod_rewrite is black magic, and will fail without suggesting why, just throwing a 500 Internal Server Error. Debugging a front controller in PHP (or whatever) it much easier.




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

Search: