在哪里下载 Pylons 可重复使用的应用程序

发布于 2024-10-08 07:54:57 字数 100 浏览 0 评论 0原文

我已经学习了 Django 的一些基础知识......并且有很多 Django 可重用应用程序可供使用。

但是塔楼怎么样?在哪里下载 Pylons 可重复使用的应用程序?

I've learnt some basic in Django.. and there is lots of Django reusable apps available for use.

But how about Pylons? Where to download Pylons reusable apps?

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

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

发布评论

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

评论(1

尐偏执 2024-10-15 07:54:57

好吧,我咬一下。我至少可以想到两种方法来回答这个问题。

1:没有可重复使用的塔架应用程序。与你对 django 的想法是一样的。我假设你的意思是pinax之类的东西。就您而言,明确的答案是否定的。

2:在 pylons 中,请求可以路由到任何 wsgi 应用程序,您可以通过 url 映射(不是 pylons 功能,而是粘贴功能),或使用 wsgi 应用程序 作为控制器在控制器内。因此从这个意义上说,任何 wsgi 应用程序 (pdf) 都是可重用的应用程序。当然,还有大量的 wsgi 中间件可供重用。

但是,如果您来自 django,并希望获得与您习惯的相同的开箱即用的处理方式,那么 pylons 会让您失望,就像您购买喷灯并期望它能带您前往机场一样。错误的工作工具。

您可能想看看turbogears,它是建立在塔顶上的,并且有更多开箱即用的东西供您使用。

OK, I'll bite. There are at least 2 ways I can think of to answer this question.

1: there aren't reusable apps for pylons. In the same sense as what you are thinking for django. I'll assume you mean something like pinax. in which the clear answer is no as far as you would be concerned.

or

2: in pylons, a request can be routed to any wsgi application, you can do so in your paste config via url map(not a pylons feature but a paste feature), or using the wsgi app as a controller or within a controller. So in this sense, any wsgi application (pdf) is a reusable app. And of course there's plenty of wsgi middleware out there to reuse.

But if you are coming from django and expecting to get the same kind of out of the box treatment that you are used to, pylons is going to disappoint you as if you purchased a blowtorch with the expectation that it would get you to the airport. wrong tool for the job.

You may want to look at turbogears which is built on top of pylons and has more out of the box things for you to use.

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