Write your own PHP MVC Framework
Posted: Tue Nov 09, 2010 12:37 am
Important: I take no credit for this tutorial, I'm simply posting the link. I'm not affiliated with the author in any way.
A little back story: I've been playing with PHP(my first real foray into programming) and had checked out a few of the more popular MVC frameworks. I was having a really hard time understanding why they work - there's just too much code there for me to dig through and come away with any meaningful knowledge. I understand how to use them, but I am the type of person that really likes to understand why something does what it does.
And so, I found this two-part tutorial on writing a PHP MVC framework from the ground up. Obviously, it's not for everyone - if you're just interested in writing an application using a framework and don't care why it does what it does, then you've read too far already
. If you're like me and want to know why it actually works, please check these out.
http://anantgarg.com/2009/03/13/write-y ... rk-part-1/
http://anantgarg.com/2009/03/30/write-y ... rk-part-2/
Mods: If you feel this would be better in the Tutorials section, please move it there. I didn't want to submit it as a tutorial since I am not the writer.
A little back story: I've been playing with PHP(my first real foray into programming) and had checked out a few of the more popular MVC frameworks. I was having a really hard time understanding why they work - there's just too much code there for me to dig through and come away with any meaningful knowledge. I understand how to use them, but I am the type of person that really likes to understand why something does what it does.
And so, I found this two-part tutorial on writing a PHP MVC framework from the ground up. Obviously, it's not for everyone - if you're just interested in writing an application using a framework and don't care why it does what it does, then you've read too far already
http://anantgarg.com/2009/03/13/write-y ... rk-part-1/
http://anantgarg.com/2009/03/30/write-y ... rk-part-2/
Mods: If you feel this would be better in the Tutorials section, please move it there. I didn't want to submit it as a tutorial since I am not the writer.