prado 的创建者为什么要创建 Yii?
我想知道为什么prado的创建者创建了一个名为Yii的新框架?
普拉多不是正确的选择吗?这是否意味着我不应该考虑 prado 而不是 Yii?
Yii 也是基于组件的吗?
I wonder why the creator of prado created a new framework called Yii?
Wasn't prado the right way to go? Does this mean that I shouldn't even consider prado over Yii?
Is Yii also component based?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
Yii 是 Prado 的重建和重新设计版本。普拉多速度缓慢,很难广泛使用它的建筑师。 Yii 的构建就考虑到了所有这些事情。
Yii 也是基于组件的。
Yii,新的PHP 的新兴框架
Yii is a rebuilt and redesigned version of Prado. Prado was slow and was difficult to widely use its architect. Yii was built with all those things in mind.
Yii is component based as well.
Yii, the new emerging framework for PHP
这些基准毫无价值。他们比较了 Hello world 应用程序的 RPS 性能,这与实际应用程序性能完全无关。然而,有些人对每个框架的演示博客应用程序进行了性能比较,Prado 的性能甚至比 Yii 还要好(尽管可能不超出测量精度)。
http://www.devcomments.com/Blog- demo-benchmark-Prado-vs-Yii-to59461.htm
对我来说,Yii 似乎是一个营销废话,对于大多数实际的文字使用场景来说,没有真正的性能提升。如果没有 Prado 基于标签的模板,为其开发应用程序就是一个 PITA,至少与 Prado 相比是这样。
Those benchmarks are worth nothing. They compare Hello world apps' RPS performances, which are completely irrelevant for real-word application performance. Some guy however did performance comparison with the demo blog apps for each framework, and Prado came out to perform even better than Yii (even though probably not outside measurement accurancy).
http://www.devcomments.com/Blog-demo-benchmark-Prado-vs-Yii-to59461.htm
Yii seems like a marketing BS to me, with no real performance-advancement for most real word use scenarios. And without Prado's tag-based templates it's a PITA to develop applications for it, at least compared to Prado.
是的,Yii 声称是基于组件的。
我认为这些基准测试说明了为什么 Yii 比 Prado 和大多数其他 PHP 框架更有吸引力:
http://www.yiiframework.com /性能
当您使用像 APC 这样的字节码缓存时,Yii 提供了一个数量级更高的性能(以每秒请求数来衡量)。
Yes, Yii claims to be component-based.
I think the benchmarks illustrate why Yii is attractive over Prado and most other PHP frameworks:
http://www.yiiframework.com/performance
Yii offer an order of magnitude greater performance, measured by requests per second, when you use a bytecode cache like APC.
没有任何框架能够永远持续下去。技术日新月异,程序员不能再在整个职业生涯中坚持一种语言或框架。特别是当范式发生转变时,从头开始创建新框架会更容易。例如,Prado 继承了 ASP.NET 的很多内容,而 Yii 则构建在 MVC 结构之上。 Yii 的创始人也在 Ruby on Rails 中实现了他发现的许多好想法。
No framework will last forever. Technology changes rapidly, programmers can no longer stick to one language or framework for their entire career. Particularly when paradigms shift, it's easier to create a new framework from scratch. For instance, whereas Prado inherited a lot from ASP.NET, Yii is built on the MVC structure. The founder of Yii also implemented many good ideas he found in Ruby on Rails.
它们在功能上是相同的,但 Yii 在性能上取代了 Prado。
请参阅 http://www.pradosoft.com/forum/index.php?topic= 11022.0
They are the same in features but Yii supercedes Prado in performance.
See http://www.pradosoft.com/forum/index.php?topic=11022.0
它们的功能并不相同。正如所发布的,yii 没有强大的基于标签的页面/模板支持,以及 html 控制器。
They are not the same in features. As posted, yii does not have the powerful tag based page / template support, as well as html controller.