3 ms·
I am so confused why the 'good old days' of php is a good example of how to do application development. Every php framework got away from that for really good
by coolgoose 8y ago
I am so confused why the 'good old days' of php is a good example of how to do application development.
Every php framework got away from that for really good mesure, including not having your logic in the server document root.
- playpause 8y agoIt's for quick experiments and prototypes. PHP (without frameworks) was great for that.
- asadlionpk 8y agoEasier to create. With a path to scalability if ever needed.
- slim 8y agoEvery 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