DAGDA SEARCH | Back to results | Support

Web 2 Py - Python Wiki

Source: https://wiki.python.org/python/archive/Web2Py.html

  1. Python Wiki /
  2. Python Wiki /
  3. Archive /
  4. Web 2 Py
View as Markdown

Web 2 Py

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

A framework for WebProgramming.

Masthead

URL

http://www.web2py.com/

version

1.82.1

licence

GPL

platforms

Unix, Windows, Mac

Python versions

>= 2.4 < 3.x

Deployment Platforms

mod_wsgi is preferred as it has full WSGI support, but also it can run with FCGI, etc. It also comes with a standalone Web server for development purposes.

URL dispatching

URLs are mapped directly to functions in a controller. No need to use regular expressions (although them can be used).

Environment Access

Web2py creates request, response and session objects that are globally available.

All-in-One

Web2Py comes with:

Persistence Support

Web2Py’s provides a Data Abstraction Layer (similar to an object-relational mapper), currently supports PostgreSQL, MySQL, SQLite3, MSSQL, Oracle, DB2, Ingress, Informix, Firebird and GAE with some caveats. Web2py generates customizable CRUD interfaces directly from the tables. The automatic creation and migration of database tables is supported. The DAL can handle almost the 100% of the queries elegantly in a pythonic way resembling SQL (no need to know advanced POO or learn a new complex query language).

Presentation Support

Web2Py’s has a python capable template language. It looks like this:

{{if condition!=something:}}
{{=title}}
{{pass}}

Documentation

A book is available both printed/pdf and freely accessible via web, written by the lead developer, who is a University Professor.

Read the web2py about

PreviousWax Next Web Accessibility