2 ms·
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 tryi
by dools 13y ago
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.
- oinksoft 13y agoAs Rasmus Lerdorf and folks like Terry Chay have been saying forever, PHP is the framework.