Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I currently work with Zend Framework, but I also know about CodeIgniter and Kohana. I've just wonder that should I stick to a framework or depend on my purposes? Because I think I cannot master everything.

share|improve this question
2  
Just a note: ZF 2.0 will be out soon, and it introduces namespaces, so it will be somewhat incompatible with ZF 1.x. You may never need to upgrade your current apps, but you should be prepared that migrating from 1.x to 2.0 is not going to be an easy task. –  Yannis Rizos Dec 1 '11 at 11:14
add comment

closed as primarily opinion-based by gnat, MichaelT, Kilian Foth, GlenH7, Robert Harvey Apr 8 at 19:58

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers

up vote 7 down vote accepted

As long as your current framework does what you need it to do, stick with it. Switching frameworks takes some time and once you master the new framework, you will have a hard time to maintain older projects because your have already forgotten how that other framework worked.

Of course, if your current framework becomes desupported or the new framework is way better (as in: 10 times more productive), you might have to do the switch anyway.

share|improve this answer
add comment

If you already worked with Zend, stick with it. There are other Frameworks and (depending on your case) some might fit better than others. But if you dont have any major showstopper whithin Zend, then why switch? Dont switch because "you have read in some blog that said X".

Writing (and maintaining!) your own framework, will propably not be worth the effort. If you dont like the Zend Way try other Frameworks, but dont invent the 74.259's php web framework. =)

share|improve this answer
add comment

If you can master Zend (or Symfony) then smaller frameworks are generally easier to pick up. I personally wouldn't use Zend for anything below a certain size/scope - things like Fat3 or Fuel are ideal for brochure sites, whereas CI and Kohana are intended for mid-scale sites like blogs. I would also recommend taking a look at YAF, an MVC extension for PHP - it's got virtually no docs at the moment but it'll run significantly faster than a script based framework.

As an aside, I think there's a lot of value in writing your own framework (once you've used a couple), purely for academic purposes to give you a greater depth of understanding of MVC. But please don't release it...

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.