For faster navigation, this Iframe is preloading the Wikiwand page for web2py.

web2py

web2py企业级Web框架
原作者Massimo Di Pierro
首次发布2007年9月27日,​16年前​(2007-09-27
当前版本
  • 2.27.1 (2023年11月16日;稳定版本)[1]
编辑维基数据链接
原始码库Web2py Repository
编程语言Python
平台跨平台
类型Web应用框架
许可协议LGPL版本3 (LGPLv3)
网站www.web2py.com

web2py是一个开源web应用框架,用Python编程语言书写。web2py允许web开发者使用Python编程动态web内容。web2py设计用来帮助缩减冗长的web开发任务,比如从头做起开发web表单,尽管web开发者需要的话可以从头做起建立表单[2]

web2py最初设计为强调易于使用和部署的教学工具。因此它没有项目级的配置文件。web2py的设计受到了Ruby on RailsDjango框架的启发。类似这些框架,web2py聚焦于快速开发,偏好约定优于配置方式,并服从模型–视图–控制器(MVC)架构模式

概述

web2py是一个全栈框架,它拥有所有主要功能的内建构件,包括:

web2py鼓励彻底的软件工程实践,比如:

web2py使用了WSGI协议,这是在web伺服器和web应用之间通信的面向Python的协议。它还提供对CGIFastCGI协议的处理器,并且它包括了多线程、启用SSL的Rocket wsgiserver[6]

注释

  1. ^ 1.0 1.1 web2py Web Framework. 
  2. ^ Web2py (2013), What is web2py?, web2py.com, retrieved 11 October 2013, <http://www.web2py.com/init/default/what页面存档备份,存于互联网档案馆)>
  3. ^ Web2py speaks multiple protocols since v1.63. [2021-03-12]. (原始内容存档于2018-04-24). 
  4. ^ Using SOAP with web2py. [2021-03-12]. (原始内容存档于2018-04-24). 
  5. ^ Writing Smart Web-based Forms. [2021-03-12]. (原始内容存档于2017-06-30). 
  6. ^ Rocket Web Server. [2021-03-12]. (原始内容存档于2020-11-29). 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
web2py
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?