A simple PHP application that demonstrates the use of MVC pattern
Over the last few days I've been trying to get a better idea of what MVC pattern is, how it's different from other patterns (ie 3-tier "view-data-logic pattern) and how in the world do you apply it in order to develop websites in PHP.
So after some help from few people at www.stackoverflow.com and other websites I mocked up my very own little PHP app, that demonstrates my understanding (however weak it might be) of the MVC! :).. Finally!
the process I realized that many more people like myself are struggling
trying to figure the very same thing out on this subject, so I wanted
to share the little app that I wrote to, hopefully, ease the pain of
this learning curve for the newbies.
I attached a ZIP file that has all the required PHP files to run this app. Just unzip it to your webserver and run the test_mvc.php. Hope this helps!
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.