vinoth1986 — 2010-08-12T03:16:47-04:00 — #1
Anybody suggest me a MVC framework in php. I'm new to Framework concept
adiian — 2010-08-18T06:50:02-04:00 — #2
It depends how familiar you with the [MVC Pattern. First of all you should understand the basic concepts of MVC. Then you can, start to play with one of the frameworks. I think the most popular are [URL="http://www.zend.com/en/"]Zend, [URL="http://cakephp.org/"]CakePHP, [URL="http://codeigniter.com/"]CodeIgniter and [URL="http://www.symfony-project.org/"]Symfony](http://php-html.net/tutorials/model-view-controller-in-php/). I would start with CakePHP, I think it's easier to learn. I would also say Zend is more popular, but a little more difficult to start with.
aniltc — 2010-08-13T07:20:53-04:00 — #3
pcspectra — 2010-08-12T11:26:05-04:00 — #4
I have used Zend, CodeIgnitor and experimented with CakePHP and Prado.
Each has it's pros and cons, but without knowing what your requirements, personal development style, long term goals, etc are I cannot really suggest a framework.
Tell us more of what you expect from a framework, long term goals, etc.
scallioxtx — 2010-08-12T05:50:23-04:00 — #5
There are as many best frameworks as developers you ask the question, but I like Yii. It's easy to learn, has very well written and extensive documentation, and overall very nice performance
(and no, I did not write it, nor did I have anything to do with its development whatsoever)
paul_wilkins — 2010-08-12T05:29:22-04:00 — #6
I used to like CakePHP but Symfony now has more popularity.
Here's an article from last year that takes you through the differences between 16 different PHP frameworks
16 PHP Frameworks To Consider For Your Next Project
ripe — 2010-08-12T03:26:42-04:00 — #7
There's no best but I like CodeIgniter.
clorets01 — 2010-08-19T18:39:33-04:00 — #8
There is also lithium php (fairly new) from the creators of cakePHP
tomb — 2010-08-12T09:08:20-04:00 — #9
Zend is probably the closest to a true MVC implementation. A lot of the others (CakePHP, CodeIgniter, Symfony, etc) all take a different approach and don't really follow MVC at all, they don't have a proper model and (because they don't have one) don't give the view access to the model. What they do tends to be more similar to the MVP pattern, where the controller does a lot of mediation between the two. I don't think you could really call them MVC, even at a stretch.
Oh and my personal opinion on symfony is that they seem to be more interested in selling books on the topic than providing easy to find documentation on the site itself.
mech7 — 2010-08-19T12:23:01-04:00 — #10
Jus add yii as my favourite framework http://yiiframework.com
vinoth1986 — 2010-08-13T06:26:50-04:00 — #11
Thanks for your suggestions..
blue1 — 2010-08-13T09:06:33-04:00 — #12
If you are new to concept of "framework", why don't you inform yourself what a framework is. Also, why does it have to be MVC? Do you know what it is or is it just another popular buzzword lately that everyone have to use?
I'm suggesting doing some research of your own to realize what MVC is, what frameworks are used for and what they are. That way you'll be able to choose yourself what suits you the best. This way, you can rely on advices of a few people that might be wrong in their estimates.
jream — 2010-08-13T12:21:09-04:00 — #13
What Blue said is good. And, sometimes for me it's more feasible to use libraries inside flat files rather than an MVC.
oikram — 2010-08-12T07:40:42-04:00 — #14
jream — 2010-08-12T07:04:24-04:00 — #15
I think CodeIgniter has the easiest learning curve. It depends on what you want to make too. I have seen several posts about Yii also, but I've never used it.
DanGrossman uses Symfony, so if you want to get real good I would probably use that, it's very difficult in my opinion to start.