Pillars of Python: Web2py Web framework

Web2py combines abundant features and powerful tools, backed by excellent documentation

Web2py was created by Massimo Di Pierro, a professor of computer science at DePaul University, as his attempt to build a Python-based Web framework that was easy to use as well as powerful. It's a well-crafted, rock-solid framework that, like Zope 2, provides its own development environment.

An example of Web2py's convenience is its uncluttered API. The Web2py core is trimmed to an essential 12 objects, largely thanks to the fact that the API was completely designed before being implemented. In addition, Web2py boasts a small footprint: about 300KB of code for the system core, database abstraction layer, templating language, and supporting functions.

Examples of Web2py's power are its Web-based soup-to-nuts administration and development console, the database abstraction layer that supports virtually every RDBMS that Python can support, and its "components" -- Web-page entities that are provided with their own view/controller code, but are manipulated via AJAX so that component updates don't require full-page updates.

Web2py lives happily with any 2.x version of Python, though the official supported version is 2.5. It will also run on Jython. It provides its own built-in Web server -- specifically, the CherryPy Web server -- though any WSGI-compliant Web server will suffice.

Installation of Web2py is configuration-free and has no dependencies other than Python. On Windows and Macintosh systems, Web2py will also install the Python 2.5 interpreter and SQLite database, so you can run Web2py "out of the box."

Like Zope 2, Web2py includes an administration tool that not only creates and manages Web2py applications, but also serves as a complete, Web-based integrated development environment. (This is in keeping with Web2py's compliance with the Web 2.0 principle that "the Web is the computer.") The IDE also supports Web-based testing and comes with an interactive Python shell, useful for exploring dynamic data structures while the application is live.

Test Center Scorecard
  40% 25% 25% 10%  
Web2py 1.95 9 8 9 9


Very Good

1 2 3 Page 1
Page 1 of 3
How to choose a low-code development platform