gpt4 book ai didi

Python Webframework 混淆

转载 作者:太空狗 更新时间:2023-10-29 18:14:51 27 4
gpt4 key购买 nike

有人可以向我解释一下当前的 python webframworks 是如何组合在一起的吗?

我听说过的三个是 CherryPy、TurboGears 和 Pylons。但是我很困惑,因为 TurboGears 似乎使用 CherryPy 作为“ Controller ”(尽管 CherryPy 本身不是一个框架吗?),并且 TurbGears 2 将构建在 Pylons 之上(我认为同样的事情?)。

最佳答案

当然还有更多。

这是一个完整的列表和详细信息!

Web Frameworks for Python

从上面的链接中提取:

Popular Full-Stack Frameworks

A web application may use a combination of a base HTTP application server, a storage mechanism such as a database, a template engine, a request dispatcher, an authentication module and an AJAX toolkit. These can be individual components or be provided together in a high-level framework.

These are the most popular high-level frameworks. Many of them include components listed on the WebComponents page.

Django (1.0 Released 2008-09-03) a high-level Python Web framework that encourages rapid development and clean, pragmatic design

Pylons (0.9.6.2 Released 2008-05-28) a lightweight Web framework emphasizing flexibility and rapid development. It combines the very best ideas from the worlds of Ruby, Python and Perl, providing a structured but extremely flexible Python Web framework. It's also one of the first projects to leverage the emerging WSGI standard, which allows extensive re-use and flexibility but only if you need it. Out of the box, Pylons aims to make Web development fast, flexible and easy. Pylons is built on top of Paste (see below).

TurboGears (1.0.4.4 Released 2008-03-07) the rapid Web development megaframework you've been looking for. Combines CherryPy, Kid, SQLObject and MochiKit. After reviewing the website check out: QuickStart Manual

web2py (currently version 1.43) Everything in one package with no dependencies. Development, deployment, debugging, testing, database administration and maintenance of applications can be done via the provided web interface. web2py has no configuration files, requires no installation, can run off a USB drive. web2py uses Python for the Model, the Views and the Controllers, has a built-in ticketing system to manage errors, an internationalization engine, works with MySQL, PostgreSQL, SQLite , Oracle, MSSQL and the Google App Engine via an ORM abstraction layer. web2py includes libraries to handle HTML/XML, RSS, ATOM, CSV, RTF, JSON, AJAX, XMLRPC, WIKI markup. Production ready, capable of upload/download of very large files, and always backward compatible.

Grok (0.13 Released 2008-06-23) is built on the existing Zope 3 libraries, but aims to provide an easier learning curve and a more agile development experience. It does this by placing an emphasis on convention over configuration and DRY (Don't Repeat Yourself).

Zope (2.10.4 Released 2007-07-04, 3.3.1 Released 2007-01-14, Zope 3.4.0c1 Released 2008-01-31) Being the grandaddy of Python web frameworks, Zope has grown into a family of frameworks over the years. Zope 1 was released in 1999. Zope 2 is both a web framework and a general purpose application server, today it is primarily used by ContentManagementSystems. Zope 3 is both a standalone framework and a collection of related libraries, which are also included with newer releases of Zope 2. All of the Zope frameworks include the ZODB, an object database for Python.

关于Python Webframework 混淆,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/191062/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com