About 5 months have passed since I took the PHP book and started coding in PHP. First, I created all my sites without any organizational plan or MVC. I soon learned that it was a pain. Then I started reading on stackoverflow on how to separate php and html and what I have been doing since.
Ex: profile.php <--this file is HTML,css. I just echo the functions here. profile_functions.php <--this file is mostly PHP. has the functions.
This is how I still separated all my encodings, and now I feel like I have to move on and run MVC. But the problem is that I have never used classes and suck with them before. And since MVC (such as cakephp and codeigniter) are all classes, this may not be good.
My question is: Are there any good books / sites / articles that tell you how to write code in MVC? I'm looking for beginners of beginner books :) I just started reading the codeigniter manuel , and I think I'm going to use this.
EDIT: Is it possible to have an MVC organization structure for your encoding without using cake, coderigrin, etc.? Basically just split the profile.php file into 3 different files (view, controller, model)
php frameworks model-view-controller
ggfan
source share