TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   To MVC... or not to MVC... (http://www.talkphp.com/general/1675-mvc-not-mvc.html)

d4v1d 12-08-2007 05:50 PM

To MVC... or not to MVC...
 
I've heard a lot about MVC (Model-View-Controller), but I'm not entirely sure what it is or how it works? Also, what would be the best way to implement it?

bdm 12-08-2007 05:59 PM

Depending on what you are coding, I would almost always recommend it.

Here are two very nice introduction tutorials to the Zend Framework which uses MVC (Quicktime is unfortunately required).
- http://mitchellhashimoto.com/zend-fr...tting-started/
- http://mitchellhashimoto.com/zend-fr.../zend-registry

And here also two nice video tutorials using Code Igniter (Flash required).
- http://codeigniter.com/tutorials/

And lastly: http://www.phppatterns.com/docs/desi...roller_and_php

Any questions, just shoot. :-)

d4v1d 12-08-2007 06:27 PM

Thanks a mil :-D My next question was going to be whether or not to use a framework, or to try code the MVC myself, but I think you've answered that for me already. :-P

Rizza 12-08-2007 11:06 PM



There's no need to reinvent the wheel. I've been using CakePHP quite a bit but have found myself frustrated by it's tightly coupled nature. I'd recommend going with Zend. It's backed by a very capable and strong community... not to mention the people who are behind PHP itself.

d4v1d 12-09-2007 12:02 AM

Yeah, I've been reading up on a few of the frameworks the past two weeks. Zend seems to have my vote so far, a bit more freedom than with CakePHP and codeignitor. Besides, Zend Studio has the support for it, which makes my life just that much easier.

Wildhoney 12-09-2007 12:10 AM

You took the words right out of my mouth, Rizza!


All times are GMT. The time now is 05:47 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0