News for hackers. Stuff that matters.
Re:Kill your index.php by dools on Tuesday January 28, 2014 @09:59PM (#7141550)
I actually shivered a little bit thinking about an app where each url was in a new file somewhere. I mean, ack is only going to take you so far when you're trying to find out where something was implemented.

That's essentially what controllers are. How a URL gets mapped to a controller is somewhat moot, in reality most "pages" equate to either a file or a class somewhere.

I'm not advocating that one shouldn't have a single entry point. I'm advocating that it shouldn't be part of a centralised framework.

Re:Kill your index.php by oinksoft on Wednesday January 29, 2014 @01:16AM (#7142268)
As Rasmus Lerdorf and folks like Terry Chay have been saying forever, PHP is the framework.