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.

To continue reading, register here to become an Insider. You'll get free access to premium content from CIO, Computerworld, CSO, InfoWorld, and Network World. See more Insider content or sign in.

This story, "Pillars of Python: Web2py Web framework" was originally published by InfoWorld.

Free Course: JavaScript: The Good Parts
View Comments
You Might Like
Join the discussion
Be the first to comment on this article. Our Commenting Policies