SitePoint Sponsor

User Tag List

Results 1 to 15 of 15
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Suggest me a best MVC Frame work in PHP

    Hi All,
    Anybody suggest me a MVC framework in php. I'm new to Framework concept

  2. #2
    SitePoint Zealot Ripe's Avatar
    Join Date
    Oct 2006
    Location
    Australia
    Posts
    146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no best but I like CodeIgniter.

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    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
    Last edited by paul_wilkins; Aug 12, 2010 at 04:08.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  4. #4
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,097
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    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)
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  5. #5
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  6. #6
    SitePoint Wizard
    Join Date
    Feb 2009
    Posts
    1,006
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no such thing as "best framework".
    I would say: The one that you like the most.
    The one that you work better with.
    The one that you feel more comfortable with.

    Try several. Play a little bit with them, use their support communities... and then, decide.

  7. #7
    SitePoint Guru bronze trophy TomB's Avatar
    Join Date
    Oct 2005
    Location
    Milton Keynes, UK
    Posts
    996
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    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.

  8. #8
    SitePoint Evangelist
    Join Date
    Aug 2005
    Location
    Winnipeg
    Posts
    498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    Cheers,
    Alex
    The only constant in software is change itself

  9. #9
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your suggestions..

  10. #10
    SitePoint Addict aniltc's Avatar
    Join Date
    Nov 2006
    Location
    INDIA
    Posts
    399
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cakephp is the best

  11. #11
    SitePoint Zealot
    Join Date
    Jun 2010
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vinoth1986 View Post
    Hi All,
    Anybody suggest me a MVC framework in php. I'm new to Framework concept
    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.

  12. #12
    John 8:24 JREAM's Avatar
    Join Date
    Sep 2007
    Location
    Florida
    Posts
    1,508
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What Blue said is good. And, sometimes for me it's more feasible to use libraries inside flat files rather than an MVC.

  13. #13
    SitePoint Enthusiast
    Join Date
    Jul 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 Zend, CakePHP, CodeIgniter and Symfony. 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.

  14. #14
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jus add yii as my favourite framework http://yiiframework.com
    Go visit my site you know you want to
    http://con.cept.me

  15. #15
    SitePoint Enthusiast
    Join Date
    Oct 2009
    Posts
    58
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is also lithium php (fairly new) from the creators of cakePHP


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •