1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Which php framework is best?

Discussion in 'PHP' started by falconlink, Feb 25, 2012.

  1. #1
    Hi guys,
    I'm a php programmer and have been working for a long time. Basically, I work with raw php files and now thinking to take help from frameworks. I found the following most popular framework software and looking for the experts' wise decisions. I have never used any of them.

    1. Yii framework
    2. CodeIgniter
    3. CakePHP

    Thanks in advance.
     
    falconlink, Feb 25, 2012 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,883
    Likes Received:
    34
    Best Answers:
    51
    Trophy Points:
    100
    #2
    Each framework has pros and cons. I think you'll find that any given one is either too limiting or adds too much garbage code. I'm the same as you - I start with a blank page and write code, and have been doing that for a long time. I've investigated frameworks, but haven't found any that will write as tight code as I do, or will really improve my productivity.
     
    Rukbat, Feb 25, 2012 IP
  3. dakshhmehta

    dakshhmehta Active Member

    Messages:
    220
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Ill go for CodeIgnitor. Its small tool but very powerful..
     
    dakshhmehta, Feb 26, 2012 IP
  4. Haxalot

    Haxalot Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #4
    I've heard some very good reviews about CodeIgnitor and CakePHP. They both seem very capable of doing most things which is helpful. But personally i have not heard much about the Yii framework, however i do know that MyBB, one of the most popular free forum boards is going to start using it, so it must be quite handy.

    Personally i would go with CodeIgniter though.
     
    Haxalot, Feb 26, 2012 IP
  5. sarahk

    sarahk iTamer Staff

    Messages:
    18,892
    Likes Received:
    2,237
    Best Answers:
    54
    Trophy Points:
    615
    #5
    I've been using CakePHP for years but haven't tried the others so can't give an objective review.

    For small projects I'm totally comfortable with starting from scratch but a framework gives you a head start on database functionality and security as well as some other niceties like seo urls so I'm a big fan of using them. To a certain extent you can't really know the limitations or advantages of a framework until you really start to push beyond the standard functionality. You basically have to take a look, pick one and run with it.
     
    sarahk, Feb 26, 2012 IP
  6. jestep

    jestep Prominent Member Premium Member

    Messages:
    3,522
    Likes Received:
    201
    Best Answers:
    17
    Trophy Points:
    330
    #6
    My choice would be between Zend and symfony 2. They're the most developed at this point. If you are planning on trying to get employment, then Zend is by far the most used. If you are planning on developing sites yourself, or are familiar with ROR, then Symfony would be my choice. Otherwise this is a very objective question to answer.

    Of the 3 you listed, codeignitor or yii. Last I checked, Cake doesn't allow any external ORM like Doctrine, so it's a deal breaker out of the gate. It was marketed well, but doesn't offer any feature or improvement over any other framework.
     
    jestep, Feb 27, 2012 IP
  7. webshore88

    webshore88 Member

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #7
    I am working in Codeigniter since one year and I found it very flexible. It's function seems very close to zend framework but obviously Zend is not a good choice for a small projects. So, I recommend you CI.
     
    webshore88, Feb 27, 2012 IP
  8. Wad!e

    Wad!e Member

    Messages:
    132
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    40
    #8
    CakePHP and Symphony are probably the two best and most popular..
     
    Wad!e, Feb 27, 2012 IP
  9. akumar2

    akumar2 Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    CakePHP :) :)
     
    akumar2, Feb 28, 2012 IP
  10. ixtra

    ixtra Greenhorn

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #10
    Code Igniter is the best according to me :)
     
    ixtra, Feb 28, 2012 IP
  11. sarahk

    sarahk iTamer Staff

    Messages:
    18,892
    Likes Received:
    2,237
    Best Answers:
    54
    Trophy Points:
    615
    #11
    It would probably help the OP if you justified your recommendation and included comparisons to the other frameworks.
     
    sarahk, Feb 28, 2012 IP
  12. Googled

    Googled Living the dream Premium Member

    Messages:
    85
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    60
    #12
    long live notepad framework :)
     
    Googled, Mar 2, 2012 IP
  13. digiface

    digiface Greenhorn

    Messages:
    44
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    23
    #13
    I would say cakephp is the best one and sometimes I use smarty framework too so that I can develop sites for my clients
     
    digiface, Mar 2, 2012 IP
  14. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,883
    Likes Received:
    34
    Best Answers:
    51
    Trophy Points:
    100
    #14
    Notepad isn't a framework, it's a text editor.
     
    Rukbat, Mar 2, 2012 IP
  15. josefaryan

    josefaryan Member

    Messages:
    1,476
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    45
    #15
    I didn't see Zend framework in you list. Zend framework is one of the the powerful and important framework's available for PHP.
     
    josefaryan, Mar 2, 2012 IP
  16. ratnadewi

    ratnadewi Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Codeigniter with HMVC library.
     
    ratnadewi, Mar 8, 2012 IP
  17. Ardolix

    Ardolix Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Zend framework or Codeigniter. First is better, but Codeigniter is easier as for programmer as for server.
     
    Ardolix, Mar 9, 2012 IP
  18. microrocker213

    microrocker213 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I am using zend framework which is the best one and I really like it, sometimes I use wordpress or joomla as per the clients requirement
     
    microrocker213, Mar 9, 2012 IP
  19. RobertStev

    RobertStev Peon

    Messages:
    92
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    try them all till you find one that works the best
     
    RobertStev, Mar 10, 2012 IP
  20. jkon

    jkon Member

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #20
    Well there isn’t such thing as “best PHP framework’. If it where there only could be one. It all has to do with who you are (as a programmer) what you do and who you want to be (what are the changes in your logic that you are willing to take). That’s why there are many frameworks out there. Every task has specs, these are to choose a framework, if you have them I would recommend making a hello world application first with all the well established frameworks. If the way they do it seems not clean to you move one till you find what express you…
     
    jkon, Mar 11, 2012 IP