Every php framework got away from that for really good mesure, including not having your logic in the server document root.
IMHO unless you are building a http daemon, "your logic" should probably not include routing http requests. Using directory tree, url rewriting or generally leaving the controller part of your logic to the underlying httpd is probably fine in most php projects. Note: php frameworks can't do microservices
Comments (245) 47 threads
Show all comments
Showing thread 18 of 47
Every php framework got away from that for really good mesure, including not having your logic in the server document root.