4
votes
2answers
2k views

Small MVC for PHP

The following is a new question based on answers from here: Small PHP MVC Template I have written a small MVC template library that I would like some critiques on. The library is located here ...
2
votes
1answer
562 views

A PHP MVC class

I had asked a first question about this class a while ago and got a few answers here which made me rewrite it completely. I removed all statics and globals, added my variables as arguments for the ...
2
votes
1answer
146 views

Router for MVC framework: Is it OO and good to go?

Am I utilizing dependency injection correctly? Any parts of my class that I should decouple? Anything I could improve in my code when it comes to OO PHP (and MVC)? The class routes URLs based on ...
2
votes
1answer
198 views

How to put XML results in the MVC pattern?

I have been writing PHP programs in the MVC pattern for quite some time. But I am not sure if I am doing it right. For instance, I have this PHP file that prints a result in XML, and I put this file ...