塔架与涡轮齿轮

发布于 2024-07-26 06:24:55 字数 115 浏览 6 评论 0原文

我正在考虑是否应该在我的项目中使用 Turbogears 还是 Pylons。 我知道 Turbogears2 是基于 Pylons 的。 Turbogears 提供了哪些 Pylon 没有提供的功能? 谢谢。

I am considering whether I should use Turbogears or Pylons for my project. I know Turbogears2 is based on Pylons. What does Turbogears provide that Pylon doesn't?
Thanks.

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

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

发布评论

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

评论(3

谁的年少不轻狂 2024-08-02 06:24:55

Turbogears emphasises integration, while Pylons emphasises modularity -- with TG2, you're getting such components as genshi, toscawidgets, and sqlalchemy, all integrated and coordinated. Of course you could integrate and coordinate each of them (or other templating systems, widget systems, ORMs, etc) with Pylons, but no doubt many people will prefer to get the complete package (and the peace of mind that comes from knowing everything has been tested in that specific version and configuration) rather than getting each piece separately and doing their own integration.

网名女生简单气质 2024-08-02 06:24:55

不久前,我在 IRC 上想到了这个:

想象一下你有一个谜题,盒子里的图片是一艘在海上航行的船(是的,其中之一是困难的)。

使用 Pylons,您将开始查看所有这些蓝色碎片,并将它们放在一起,有时会弄乱,因为您不知道它们是天空还是海洋。

有了 TurboGears,所有的蓝色工作都已经完成,您只需去船上工作即可。 但如果你有兴趣做一些蓝色的事情,你可以撤销拼图的那部分,然后重新构建它*。

*这里的类比有点不恰当,因为替换组件不需要由同一组部件构建:)

Some time ago I came up with this on IRC:

Imagine you have a puzzle and the picture in the box is a boat out on the sea (yes one of those hard ones).

With Pylons you will start looking at all those blue pieces and putting them together sometimes messing up because you don't know if they are sky or sea.

With TurboGears all the blue is already done and you simply go and work on the ship. But if you are interested in doing some of the blue you go and undo that part of the puzzle and build it again*.

*here the analogy breaks a little as the replacement component doesn't needs to be build out of the same set of pieces :)

孤独患者 2024-08-02 06:24:55

neil balkey-milner 有一个有价值的分析/比较 pylons tg 和 django。

neil balkey-milner has a valuable analysis/comparison of pylons tg and django.

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