学习 Symfony2 还是改用 Zend?
我的开发团队使用 symfony 1.4 创建了一个网站,但该项目结果是一场噩梦:很少有人知道如何使用 symfony 进行编码,我们在该项目上工作的人太多,最终导致了难以维护的混乱。
就我个人而言,我是 symfony 的粉丝,迫不及待地等待 2.0 的发布,但团队不想听到任何消息,认为 Zend Framework 会更好,因为它基于独立的模块(但 Symfony2 也是如此) ,对吧?)
无论如何,我会坚持开发人员在开始新项目之前接受 sf2 或 Zend 的培训。
有什么想法吗?我应该坚持使用 Symfony 2,还是他们要求使用 ZF 是正确的?
My development team created a website with symfony 1.4, but the project turned out a nightmare : few knew how to code with symfony, we were too many working on the project, and we ended up with a mess hard to maintain.
Personally, I'm a symfony fan and can't wait the release of 2.0, but the team doesn't want to hear any of it, thinking Zend Framework will be better, since it is based on independent modules (but so is Symfony2, right ?)
In any case, I will insist devs have training on either sf2 or Zend before starting a new project.
Any thoughts ? Should I insist on using Symfony 2, or are they right in asking for ZF ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前的Zend框架(1)是基于PHP> 5.2.
另一方面,Symfony2 针对 PHP > 启动。 5.3.在 Symfony2 中,所有这些都是捆绑包。
如果您有兴趣使用 5.3 的优秀功能,您可以要求他们切换到 symfony2 。另外,为什么不加入 #irc 或 google 群组并在遇到困难时寻求帮助呢?
而且很难说服反对框架的人。因此,最好尝试说服 PHP 5.3 和改进的功能。
ZF2 基于 5.3,但仍处于开发阶段,正在慢慢推出。
而且,将项目失败归咎于框架也不是一个好方法:-)
如果您对 PHP 5.3 框架感兴趣,我推荐
Symfony2 : http ://symfony.com/(Components,Symfony2组件之上的Silex小框架,Symfony2全栈框架)。我推荐 Symfony2 的原因是 Drupal、PHPBB、PPI2 等都会使用该组件。所以你只需要学习一个 API :-)。
其他
Flow3 :http://flow3.typo3.org/ 版本 1 。据我所知,本地化和翻译并不完整。使用 Doctrine2 作为 ORM。来自 TYPO3,不是贪婪的公司:-)。
锂:http://li3.me/(开发)
ZF2:http://framework.zend.com(开发 Beta-3)
对 PHP 5.4 框架/组件感兴趣?
Aura PHP(以前是基准框架之父 Paul M Jones 的 Solar PHP):https://github.com/auraphp 目前更新为 Beta2。
从 http://auraphp.github.com 了解更多信息
Current Zend framework ( 1 ) is based for PHP > 5.2 .
Symfony2 on the other hand starts for PHP > 5.3 . In Symfony2 all are bundles.
If you are interested to play with the nice features of 5.3, you can ask them to switch to symfony2 . Also why don't you join the #irc or google groups and get help when you get stuck ?
Also its hard to convince someone who is against a framework. So better try to convince about PHP 5.3 and the improved features.
ZF2 is based on 5.3 but still in dev, and slowly coming the way.
Also its not a good way to blame a framework for your project fails :-)
If you are interested in PHP 5.3 frameworks I recommend
Symfony2 : http://symfony.com/ ( Components , a small framework Silex on top of Symfony2 components , Symfony2 full stack framework ) . Why I recommend Symfony2 is the components will be used by Drupal, PHPBB, PPI2 and many more. So you need to learn only one API :-).
Others
Flow3 : http://flow3.typo3.org/ version 1 . Localization and Translation not full to my knowledge. Uses Doctrine2 as ORM. From TYPO3 , not the greedy company :-) .
Lithium : http://li3.me/ ( Development )
ZF2 : http://framework.zend.com ( Development Beta-3 )
Interested in PHP 5.4 Framework / Components ?
Aura PHP ( Previously Solar PHP by Paul M Jones the father of Benchmarking frameworks ) : https://github.com/auraphp currently Beta2 as of updating.
Know more from http://auraphp.github.com