11

I've started using Zend Framework and Studio for my projects and would like to hear from those who already use it what to expect. I'm not interested so much in the good things because these can be marketing messages. I want to know about the things that are not so good or are annoying so I can decide for myself if they matter enough to me. Thanks for all your input.

Charles
  • 50,943
  • 13
  • 104
  • 142
jblue
  • 4,390
  • 4
  • 46
  • 79
  • 4
    I think this should probably be community wiki, given that there really is no "correct" answer. – Jim Sep 15 '10 at 20:26

5 Answers5

7

Its a pretty good learning curve, with pretty limited (awful) documentation for most developers. Be prepared for that, as it will take most developers a good few weeks + to get a handle on it and how to do things "properly".

But I guess to say that will probably be the case with any framework. I just know that was a huge task to learn, and I am still learning. So doing something I have not done before with ZF, although I may have done this separately on another project, tends to take a bit more time.

Jim
  • 18,673
  • 5
  • 49
  • 65
  • Learning curve is the main obstacle, but there are some books that help. Personally I can recommend Zend Framework 1.8 Web Application Development (it's not outdated despite the 1.8 version number in the title) – Jani Hartikainen Sep 15 '10 at 20:38
  • +1 on the documentation. Very formal and tight contra community driven and open. – chelmertz Sep 15 '10 at 21:58
5

Overhead. A lot of it. ZF is huge,

Jacob Relkin
  • 161,348
  • 33
  • 346
  • 320
  • 4
    But isn't ZF modular. Yes, I upload it to my server, but it just sits there, and I can use as few or as many of its classes as I need? The only thing I guess it adds by default is the MVC application architecture, but that's a good thing and needed start for me since I wouldn't know how to implement it myself. Can you clarify specifically how being huge affects my application in a bad way. – jblue Sep 15 '10 at 20:18
  • +1 I gave up on using most of the MVC core of Zend after I tracked the instantiation of an object through terrible inefficient hurdles. Sure, using some portions & standalone classes (which are great) is very nice, for the nitty-gritty MVC, database connections & instantiation I can whip up something more efficient for my needs in a _very_ short amount of time. – Wrikken Sep 15 '10 at 21:45
  • 1
    From the book "Zend Framework 1.8 Web Application Development" page 10: rephrased for clarity `There are, of course, disadvantages to MVC and situations where it should not be used. If the application is simple, then there would be no point in using MVC, as the overhead created by the MVC implementation outweighs the benefit.` It means MVC has an overhead. It's worth it for an application that needs it, but is not worth it for a small application. – jblue Sep 16 '10 at 01:27
4

I'm using ZF for two years now and I'm quite happy with it. Just few things:

  • documentation is good for beginners but in time you will see that it misses a lot
  • don't use ZF without solution like APC / eAccelerator
  • test everything carefully when you update to new version of ZF. Sometimes there are radical changes in ZF behaviour
Jim
  • 18,673
  • 5
  • 49
  • 65
Piotr Pankowski
  • 2,396
  • 1
  • 15
  • 18
3

I haven't used it for a while but it always used to have a bit of a memory overhead.

This was caused be the huge number of classes that the framework included for every request.

Linus Norton
  • 557
  • 1
  • 4
  • 15
3

A couple of notes from my experience:

  • Not well suited for rapid development ala Rails or Django
  • No ORM
  • When developers ignore the suggested "Zend" way of doing things it can get very messy
  • It's not as loosely coupled as advertised. Just try making a Zend Framework MVC project without using Zend Loader.
  • Slower than some other frameworks (but fast enough for 90% of websites, DB is almost always the bottleneck anyway)
  • I've found the Zend Forms to be clunky and slow to implement
  • Last I used it, the Zend_Feed_Writer class didn't seem to work right
Joshmaker
  • 4,068
  • 3
  • 27
  • 29