Django 和 web.py,用 Python 构建大型网站哪个更好?

发布于 2024-10-21 22:15:11 字数 1539 浏览 7 评论 0原文

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

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

发布评论

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

评论(4

酒几许 2024-10-28 22:15:11

如果您还没有开始,请尝试这两个框架。我从 Django 开始,然后转向 web.py。

Web.py 并不像人们想象的那么难。事实上,我发现它比 Django 更容易使用!

只是我的2分钱。

编辑:另外,这可能会有所帮助: http://www.aaronsw.com/weblog/rewritingreddit

In case you haven't started yet, Give both frameworks a try. I started off with Django and moved to web.py.

Web.py is not that hard as one might think. In fact, I find it easier to work with than with Django!

Just my 2 cents.

EDIT: Also, this might help: http://www.aaronsw.com/weblog/rewritingreddit

完美的未来在梦里 2024-10-28 22:15:11

Django 使构建复杂的网站变得非常简单。在使用 Django 之前,我一直在研究 PHP,而且我在将它组合在一起时做得非常糟糕。 Django 通过一些良好的实践引导您走向正确的方向,使您的网站真正易于维护和更新。我真的很喜欢 ORM 以及如何轻松处理数据库中的数据,而无需编写一行 SQL。它使开发不再那么困难。

我没有任何使用web.py的经验,也无法比较两者的性能。但至少使用 Django 不会出错。

Django makes building complicated sites really simple. Before Django, I was messing around with PHP, and I was doing a really terrible job putting it together. Django leads you in the right direction with some good practices which makes your site really easy to maintain and update. I really like the ORM and how you can easily work with data from the database without having to write a single line of SQL. It makes development less of a slog.

I don't have any experience with web.py, and I can't compare the performance of the two. But you can't go wrong with Django at least.

好听的两个字的网名 2024-10-28 22:15:11

Django 实际上相当快。使用缓存和多个数据库后端是一种涂鸦 - 您实际上可以利用 Django 的预定义缓存框架进行单行视图缓存甚至模板片段缓存。当然还有 - 低级缓存 API。而且——这很有趣!

根据我的经验 - 部署在 nginx 和 uWSGI 下,由 Supervisord 监视,使用最近热门的 Celery 任务队列包 - Django 速度极快,易于扩展和配置,并且非常可靠。

Django is actually quite fast. Using caches and multiple DB backends is a doodle - you actually can utilize Django's predefined caching framework for one-line view caching or even template fragment caching. And of course - low-level cache API. And - it's fun!

In my experience - deployed under nginx and uWSGI, watched over by Supervisord, with the recently hot Celery task queueing package – Django is blazingly fast, easy to scale and configure and very reliable.

似梦非梦 2024-10-28 22:15:11

忘记所有这些,如果你想要一个漂亮的 weppy 框架,我已经使用了 django 、 web2py 、 Bottle 、 Flask 和大多数主要的 php 框架,只需使用 weppy 的完整堆栈和精致优雅,对于 php 我只是创建了自己的微框架,看起来有点像 weppy,但它不是全栈,我喜欢 weppy 给我的精细控制,它很容易学习,使用起来很有趣,呃我是否已经说过它很漂亮?是的,确实是哈哈哈。你可以在这里找到它:http://www.weppy.org 稍后谢谢我

forget all those, if you want a beautiful framework look for weppy, i have used django , web2py, bottle,flask and most major php frameworks, just use weppy its full stack and exquisitely elegant, for php i simply created my own microframework that looks abit like weppy but its not fullstack, i love the granular control that weppy gives me and its quite easy to learn and its such a joy to use, eer did i already say that its beautiful? yes it surely is hahaha. you can find it here : http://www.weppy.org thank me later

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