SIMPLE PHP MVC Framework!
Posted
by Allen
on Stack Overflow
See other posts from Stack Overflow
or by Allen
Published on 2009-10-11T04:38:03Z
Indexed on
2010/04/12
4:43 UTC
Read the original article
Hit count: 437
I need a simple and basic MVC example to get me started. I dont want to use any of the available packaged frameworks.
I am in need of a simple example of a simple PHP MVC framework that would allow, at most, the basic creation of a simple multi-page site.
I am asking for a simple example because I learn best from simple real world examples. Big popular frameworks (such as code ignighter) are to much for me to even try to understand and any other "simple" example I have found are not well explained or seem a little sketchy in general.
I should add that most examples of simple MVC frameworks I see use mod_rewrite
(for URL routing) or some other Apache-only method. I run PHP on IIS.
I need to be able to understand a basic MVC framework, so that I could develop my own that would allow me to easily extend functionality with classes.
I am at the point where I understand basic design patterns and MVC pretty well. I understand them in theory, but when it comes down to actually building a real world, simple, well designed MVC framework in PHP, i'm stuck.
I would really appreciate some help!
Edit: I just want to note that I am looking for a simple example that an experienced programmer could whip up in under an hour. I mean simple as in bare bones simple. I dont want to use any huge frameworks, I am trying to roll my own. I need a decent SIMPLE example to get me going.
© Stack Overflow or respective owner