我应该在 Symfony 1.x 还是 2.0 中开始开发?
我想为 2011 年和 2011 年开发网络应用程序2012,我应该使用哪个版本?
I want to develop webapps for 2011 & 2012, which version I should use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
它还取决于您对仍在开发中的软件的耐心。该网站指出:
这意味着事情仍在开发中,破坏了与早期版本的兼容性。请参阅:http://symfony.com/download 。如果您有兴趣,那就去吧,它是一个丰富而强大的框架。如果您需要昨天完成事情,那么最好坚持使用 SF1.4。
另一方面,对sf1.4的支持将于2012年11月结束,这也可能是需要考虑的事情。
It also depends on your patience with software that is still in development. The website states:
This means that things are still under development that breaks compatibility with earlier versions. See: http://symfony.com/download . If you have the stomach for it, go for it, it's a rich and powerful framework. If you need to have things finished yesterday, it's probably better to stick with SF1.4.
On the other hand, the support for sf1.4 will end in November 2012, this might also be something to take into consideration.
除非您有一个强制使用特定版本的现有代码库,否则 2.0 可能会更好,因为它具有更丰富、更高级的 API。
Symfony2 改进的官方公告
Unless you have an existing codebase that mandates a particular version then 2.0 is probably better since it has a richer and more advanced API.
The official announcement of improvements in Symfony2
这已经被问答过很多次了。
2.0 甚至还没有进入 RC 阶段 - 请记住这一点。
未来几年将支持 1.4。
如果您的应用程序不会变得“大”,那么它会在 1.4 中完成,然后如果您确实需要它,可能会更改为 2.0。
否则你必须等到 2.0 稳定,这可能需要 1 到几个月的时间。
This has been Q&A'd many times.
2.0 is not even in the RC phase yet - keep that in mind.
And 1.4 will be supported for the next few years.
If your apps not gonna be "big", it'd do them in 1.4, and then maybe change to 2.0 if you REALLY need it.
Otherwise you have to wait until 2.0 goes stable, which may take from 1 to a few months.
Symfony 2.0将于下周进入RC阶段,并将于今年7月正式发布,所以我认为它已经非常接近稳定了:)
Symfony 2.0 will be in RC phase in next week, and will be officially released in july this year, so i think its very close to be stable :)