Where can I find a sample PHP MVC application? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI've been attempting to understand how MVC applications are structured and have spent time with frameworks like CodeIgniter and Zend making small test websites to play around with. However I'm still unsure if I completely understand how to separate the logic properly since it still seems like it's taking more time than it's saving.
I learn best from looking at well-written code and I have a feeling there are a few talented programmers on SO.
Are there any good "Real World" examples of a PHP MVC application that I could look over? I've made the mistake of not asking about best practices and instead pick up poor coding practices in the past and I want to avoid making such a mistake moving forward.
Thanks SO!
I found this PHP tutorial to be useful when I first wanted to improve my understanding.
I'm writing an open source bugtracker, you might want to have a look. The code may not be 100% neat and clean, but it's mostly better than worse ;). http://code.google.com/p/bugraid/
A pretty good basic Zend example is http://akrabat.com/zend-framework-tutorial/
Or you could just use ZFtool to create a project a very basic program and understand how it is brought together
>zf create project <path> from within the bin directory in your zend download
精彩评论