发布于 2025-01-08 14:12:12 字数 8 浏览 1 评论 0原文

continue

How to choose between the following frameworks? When to chose Zend when Symfony, or other?

Of course you have seen this kind of topic often around the internet already. This time I want to start a constructive discussion in order to know which framework should be chosen over another. I want to learn one of them as soon as possible, because CodeIgniter seems to have it's limitations.

Some criteria reduced my choice to the popular Zend Framework and Symfony, because of there massive documentation. I need to practice, and teach it to other employees.

I would like to know, based on your experiences and research what are the advantages and disadvantages of both Frameworks.

You will ask: What are your needs. Well, none and all together. Make small to big sites, by having one workaround. It’s certain that different people will work on those different projects. Besides that, the programmers can be experienced and junior in OOP.

Please do not answer with the sentence that it is a question of taste and style. I don’t have any yet.

Criteria:

  • Documentation
  • High Load sites
  • Modules
  • Copy features to other projects easily.
  • OOP
  • PHP > 5 (5.3 pre)
  • Templates
  • Caching
  • Backend with complex a Database.

I really want to learn a new Framework. Help me choose!

Zend Framwork 1.11

  • Lot of documentation
  • Lot of tutorials
  • Zend Certification (good for your CV)

  • End of development cycle.

Zend Framework 2

  • PHP 5.3
  • The future ?

  • Beta

Symfony

  • PHP 5.3
  • Good Documentation
  • Bundles (Website regrouping them)
  • Usability (Development bar at the bottom of the screen)
  • Speed
  • Twig implemented (bridge)
  • Doctrine implemented (bridge)
  • Good reputation

  • Less known

  • Smaller community

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

定格我的天空 2025-01-15 14:12:12

continue

Well, let's see if this makes it in before the thread gets closed.

  1. ZF2 - Beta release in Oct 2011, nothing since then, no real point in even considering it.

  2. ZF1 - Nice and stable, bit dated but it works. Lots of useful integrated components such as PDF.

  3. Symfony 2 - Your question is chock full of misunderstandings.

Lots of tutorials - Nope. You might be thinking about SF1.4. The only thing 1.4 shares with 2.0 is the name. S2 tutorials are still a work in progress.

Easily implement zend libraries - Not sure what this means but yes you can use some ZF 1 components such as pdf quite easily.

Bundles - good thing but nothing new. Everyone has some sort of module support.

Twig is not implemented natively. What is known as a bridge allows you to use twig inside of s2 with minimal effort.

Doctrine 2 is also not implemented natively. Also uses a bridge. Which is good because other database packages such as Propel can plug right in as well.

The big thing you missed completely about S2 is that it is built around dependency injection and services. I know ZF2 is supposed to have something similar but S2 is out there and available today.

You also overlooked CodeIgniter and CakePhp.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文