Implimenting Zend MVC for my existing site-first step?
- by Joel
Hi guys,
OK-newbie question here. I'll try not to bombard SO with lots of questions-and hopefully this first one will show me the method I'll need to follow for subsequent conversions.
I have a web-based calendar system that I developed, but it was coded for me procedurally (using PHP).
I'm now working on learning OO and wanting to integrate this site into my localhost Zend Framework and slowly start converting parts to OO and the Zend Framework MVC process in particular.
As I've said before, I understand that this will be a slow process, and when I'm done, I still probably won't have anything as OO friendly as if I had rewritten it from scratch, but I'd like to use this as a learning experience.
So, I have dropped the whole site into my localhose/zend/Public folder, and everything is showing up great and linking to the database, etc.
My question is-what would be the easiest first component to switch over to the MVC model? This site has a bit of everything-forms, login, authentication, some jQuery, etc.
Can anyone point to a tutorial that would address what I'm trying to do?
If indeed, a form would be one of the simpler things to switch, can someone walk me through those changes?
Another idea is changing over all the header info, etc?
Thanks for any pointers on where to start!
EDIT: Also, I understand that SO is mainly for specific coding questions-I'm happy to share specific code, once I have an idea about which section to tackle first...