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.
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.
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.
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.
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.
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.
It would probably help the OP if you justified your recommendation and included comparisons to the other frameworks.
I would say cakephp is the best one and sometimes I use smarty framework too so that I can develop sites for my clients
I didn't see Zend framework in you list. Zend framework is one of the the powerful and important framework's available for PHP.
Zend framework or Codeigniter. First is better, but Codeigniter is easier as for programmer as for server.
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
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…