Skip to content
web2py
EntityQ286180· pop 15· linked from 164 articles

Webアプリケーションをアジャイルで開発するためのオープンソース・フレームワーク

Key facts

Software.title
web2py Enterprise Web Framework
Software.name
web2py
Software.logo
ويب-تو-باي.png
Software.logo size
frameless
Software.logo caption
web2py logo
Software.author
Massimo Di Pierro
Software.programming language
Python
Software.platform
Cross-platform
Software.genre
Web application framework
Software.license
GNU Lesser General Public License version 3 (LGPLv3)
Software.website
www.web2py.com

via Wikipedia infobox

Source code

web2py is an open source full-stack framework for agile development of secure database-driven web-based applications, written and programmable in Python. Web2py was created in 2007 for Python 2.7. As of 2024 we support Python 3.9+ and no longer support earlier version. We do not recommend using Web2py for new projects but we recommend upgrading to py4web ( also known as web3py. Web2py and Py4web share template language, pydal, rocket3 and similar design phylosophy. web2py.2.27.1 is the last version supporting Python 2.7. web2py 3.x only supports Python 3.9+ and it is in limited maintenance mode. Read more about our Read more about our The use of a sub-module requires a one-time use of the --recursive flag for git clone if you are cloning web2py from scratch. PyDAL uses a separate stable release cycle to the rest of web2py. PyDAL releases will use a date-naming scheme similar to Ubuntu. Issues related to PyDAL should be reported to its separate repository. project/ README.md LICENSE.web2py.txt web2py.py the startup script anyserver.py to run with third party servers ... other handlers and example files gluon/ the core libraries packages/ web2py submodules dal/ contrib/ third party libraries tests/ unittests applications/ are the apps admin/ web based IDE ... examples/ examples, docs, links ... welcome/ the scaffolding app (they all copy it) ABOUT LICENSE models/ views/ controllers/ sessions/ errors/ cache/ static/ uploads/ modules/ cron/ tests/ ... your own apps examples/ example config files, mv .. and customize extras/ other files which are required for building web2py scripts/ utility and installation scripts handlers/ wsgihandler.py handler to connect to WSGI ... handlers for Fast-CGI, SCGI, Gevent, etc site-packages/ additional optional modules logs/ log files will go in there deposit/ a place where web2py stores apps temporarily

Excerpt from the source-code README · 4,403 chars · not written by Vinony

Article · 日本語

web2pyは、データベースを使用するタイプのWebアプリケーションを、アジャイルで開発するためのオープンソースのフレームワークである。web2py はPythonで書かれており、Pythonでプログラム可能である。web2pyはセキュリティーの確保に重点を置いている。例えばデフォルトで入力値の検証を行ったり、出力のエスケープを行う仕組みを提供している。これらの仕組みはSQLインジェクション、クロスサイトスクリプティング、安全でないオブジェクトの直接参照といったよくある脆弱性の問題を未然に防ぐ。またweb2pyはModel View Controllerパターン、フォームの自己URLに対する送信、サーバー側でのセッションの維持、ファイルのアップロードの安全な取り扱いの仕組みなど、ソフトウェア工学に基づいた健全な開発手法を積極的に取り入れている。 web2pyはサイト構築に必要となる主な部品がビルトインで提供される、フルスタックなフレームワークである。例えば次のような部品が提供されている。 * クッキーのハンドラー、HTTPリクエスト、HTTPレスポンス * 設定可能なRAMディスク、メモリキャッシュ * 国際化 * 自動的なエラーと実行内容のログの取得 * 動的にSQL文を生成するデータベース抽象化レイヤー。このデータベースレイヤーはGoogle App Engineにも対応している * 複数のデータベースへの対応(SQLite, MySQL, PostgreSQL, Oracle, Microsoft SQL Server, Firebird, IBM DB2 and Google App Engine) * 複数の認証機構への対応と役割に基づいたアクセス制御 * CRUD API * rss, csv, xml, json, xmlrpc, jsonrpc, amfrpc (Flash)に対応したサービスAPI web2pyはで教育用のツールとして開発されており、そのため学習曲線が非常に浅いという点で他のフレームワークとは異なっている。この理由から、簡単にサイトが立ち上げられるよう設計されており(インストール作業が不要)、開発、デバッグ、検証、メンテナンス、遠隔でのDB管理が外部のツールを必要とすることなく、ウェブベースで行えるようなインターフェースが用意されている。 web2pyは最新のPythonのウェブサーバとウェブアプリケーションの間のプロトコルであるWSGIに従っている。またweb2pyはCGIやFastCGIでも稼動可能。TLSが有効化されたCherryPy WSGIサーバーも備えているので、Apacheなどの外部のウェブサーバーは不要である。Apacheと動かすことももちろん可能。

Abstract from DBpedia / Wikipedia · CC BY-SA