django-piston 足够成熟吗?

发布于 2024-09-24 12:04:01 字数 195 浏览 3 评论 0原文

我正在开发一个广告网站,并希望使用网络服务来满足请求。我的意思是,发布商网站将放置一个 JavaScript 片段,并通过 REST GET 拉出横幅。

django-piston 框架是否足够成熟来实现此功能?

I'm developing an advertising site and want to use web services for the requests. I mean, a publisher site will put a JavaScript snippet and it will pull a banner through a REST GET.

Is the django-piston framework mature enough to implement this functionality?

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

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

发布评论

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

评论(4

月亮坠入山谷 2024-10-01 12:04:01

我一直在寻找“最佳”Django REST 包,并发现了此表,该表很有用:

http://www.djangopackages.com/grids/g/api/

此时(2011 年中)Django-Tastypie 在作者数量、更新的代码库、文档和总体活动方面明显是赢家。

编辑,2012 年 1 月:我认为现在两个领先的竞争者是 Django-Tastypie,而且, Django-REST-framework。后者有一个非常有用的可浏览 Web API 的功能,这是我在其他软件包中还没有看到的。

I've been looking into finding the "best" Django REST package and came across this table, which is useful:

http://www.djangopackages.com/grids/g/api/

At this point (mid-2011) Django-Tastypie is the clear winner for number of authors, updated codebase, documentation, and overall activity.

EDIT, Jan.2012: I think the two leading contenders are now Django-Tastypie, and also, Django-REST-framework. The latter has a really useful feature of web-browsable APIs, which I've yet to see in other packages.

吲‖鸣 2024-10-01 12:04:01

我目前正在使用它,它足以满足我的需求,而且相当简单(主要是为模型数据设置只读 API 的简单方法)。我确实有一些批评:

  1. 代码的创建者 jespern 似乎并没有为响应 问题已发布到 bitbucket。可能是不公平的批评以及 django-piston Google 群组中的活动。发布问题并遇到零响应仍然令人沮丧。

  2. 编码中似乎存在一些不一致或错误。例如,我发布的此问题。 (我可能会在小组中进一步探讨)。

I am currently using it and it's good enough for my needs, which are fairly simple (mostly just an easy way to set up a read-only API for model data). I do have a couple of criticisms:

  1. It doesn't seem that jespern, the code's creator, is doing much in response to issues posted to bitbucket. Possibly an unfair criticism, and activity in the django-piston Google Group. Still it's frustrating to post an issue and encounter zero response whatsoever.

  2. It appears there are some inconsistencies or errors in the coding. For example, this issue that I posted. (I may pursue it further in the group).

伴梦长久 2024-10-01 12:04:01

I can't answer "is it mature enough." We are still evaluating our options ourselves.

However, you might want to check out these:

音盲 2024-10-01 12:04:01

Django 确实已经足够成熟了。它为十多个知名生产站点提供支持。另一方面,活塞,我不知道,除了 bitbucket.org。我不知道有任何其他“高调”网站使用它。听起来您并不需要在 Django 之上建立一个复杂的框架来处理 REST。您可以轻松地在 Django 之上实现 RESTful 服务,而无需使用任何其他特定的库。

Django is certainly mature enough. It's powering more than a dozen high-profile sites in production. Piston on the other hand, I wouldn't know, except for bitbucket.org. I don't know of any other "high-profile" sites that use it. It doesn't sound like you need a complex framework on top of Django just to handle REST. You could easily implement a RESTful service on top of Django without using any other specific library.

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