Prelude to foundation: Its time to go for a better PHP Framework

31 thoughts on “Prelude to foundation: Its time to go for a better PHP Framework”

  1. Pingback:
  2. Hi,

    i read your Blog since one month and ich found some very helpy stuff. At moment i search for an PHP Framework and you write some interesting stuff linke “just php will give you nothing unless you upgrade yourself” and now this article. My question is. You are a ZCE and not mention something about Zend Framework? I play with the thought to use ist. I need for my project an PHP Framework, Template Engine and Ajax. I plan to use Zend, Smarty, Prototype, scriptaculous. Is that the right choice or what you mean?

    You can contact me under my Mail, plz.


  3. @Key

    Zend Framework is much more a object library like ezComponents. The MVC of Zend is not matured enough and you can find several rants on it. So I decided not to list that here. But trust me, I like ezComponents more than Zend. but ez dont have any mvc in it.

    I would suggest you to go with CodeIgniter as your MVC, Prototype for Ajax and you can use either smarty as ur template engine or you can use CI’s builtin template library. If you prefer Smarty, yu can easily integrate it with CodeIgniter. Unless you want to display some animations in your page, you can go without Scriptaculous.

    @nigeljames – sure mate, you can give it a try. It is worth trying CodeIgniter. Wish you good luck on that.

  4. Well.. i respect your choice and it is a good one.
    But when you say that CakePHP doesn’t give you enough flexibility you are very wrong.. it is sometimes too flexible🙂. The learning curve is HUGE as it has many hidden features.. especially 1.2

    But since you were actually looking for something that would get you started on your project right away.. you probably made the right choice.

  5. a great comparsion you made in such a polite and strory telling manner, obviously it solved my problem to select an easy to use framework, so realy great and imformative Post you made,

  6. You step over the learning curve of frameworks very easily. Yes, it takes time to learn about all the fine parts of a framework like Symfony, but this a one-time learning curve. After you’ve mastered the concepts of a framework like that (which I did simply by following their Askeet tutorial) then you come to use the power of all these fine parts.

    I agree with you that choosing a framework requires a lot of different aspects to be weighed, but learning curve really should not be the factor that stops you from learning something. The knowledge you learn by investing one or two days into learning a framework can be used for the rest of your professional life.

  7. @stefan – agree 100%

    But when I was talking about my learning, it was important to deliver the project rather spending time to learn it. and yes, i spend some time in learning, but the learning curve is HUGE in CakePHP (I agree with gribelu) –

    Learning is always the best thing..

    Thanks for the comment.

  8. Great story, that’s almost same path I took when I worked with PHP.

    I loved CodeIgniter after I tried several MVC frameworks, but I still found I was repeating myself many times to build the similar code – it happened a lot when I used CI’s form validation😦

    Like what you said – I spent a lot of time learning different stuff and searching for the *best* framework to fit all purposes – then I realized I have to stop this endless loop – that’s why I started looking into Ruby on Rails. After spent 3 weeks working (and learning) on a small project, I finally found what I was looking for – I suggest you give RoR a try – it’s really fun to code in RoR, this is the first time I find I am happy in coding since I started my career as a web developer🙂


  9. Very cool. I am an avid CakePHP user, but I have respect for CI and its framework. I think each framework has different things to offer that attract different users. It’s cool to see you not bashing the other frameworks, but showing you how came to an educated decision.

  10. And RoR is so much more limiting if you need to have the ability to implement your web applications on almost any web host. CI has much more flexibility hands down in that regards (among many others). Tried RoR and was not overly impressed by it… am sticking to CI for our projects.

  11. I personally use CodeIgniter for my web projects. It is an excellent MVC framework. But I would love to see more and more helper libraries, and plugins. The helper and Plugins section is still not matured.

    Anyway, I don’t like CakePhp, it is not documented well. Better documentation is always an important part of any framework. One of the reason we use framework is to avoid repeating codes. Without proper documentation it is not possible to find out the already invented wheels, and thus no reusability.

    I strongly recommend CodeIgniter over CakePhp, I didn’t inspect other frameworks Hasin Bhai Recommended. The reason was that, still I am forced to use PHP version 4 in many of the existing projects. And , only CakePHP and CodeIgniter Supports Php version 4. Others do not.

  12. I strongly agree with you. CodeIgniter framework is such a arrange full and easy framework so far i have learn and worked. Even i become a fan of CodeIgniter. The day when i first found the CI i am still learning and learning.

    Thanks to the CodeIgniter developer team for making such a easy and efficient framework of PHP.

    I want something more in CodeIgniter:
    1: Cookies Class libraries
    2: A class to setup Cron Jobs(Windows/Linux)


  13. Nice story,
    I’ll try it too but I’m just looking for a powerful MVC and to be able to keep the other tools I’m used to.
    I hope it will be possible with CI…

    Thanks for the article

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s