In the last couple of websites I made, I implemented a kind of MVC-style controller, I think.
I used mod_rewrite
to send everything through index.php, so the url became a querystring.
It worked, but I'm wondering if it's a bit hacky, or just the accepted way of doing things. Is there a better way? I don't want a framework, I want to learn to do it myself.