I’m redirecting all requests to index.php, which parses the URL and fires the appropriate controller based on it.
Is it a good idea to change the way query arguments appear in the URL?
like http://site.com/somepage/sub-subpage/page=20,offset=100. then parse those arguments and pass them to the controller, because it looks more readable.
Or should I stick with the $_GET thing? like ...http://site.com/somepage/sub-subpage/?page=20&offset=100
Not too good idea because you’ll have to implement query parsing yourself. I see no advantages in this way. And if you use standard
?name=val&name=valnotation you have:$_GET[]