web2py 1.56 is OUT
Massimo Di Pierro <MDiPierro <at> cs.depaul.edu>
2009-02-05 07:34:25 GMT
web2py 1.56 is out, including a new web site with better documentation
What is web2py?
- It is the web framework used by PyCon 2009 for registration.
- It a very easy and very powerful Python web framework.
- It is fast and rock solid. It has a very clean design and it is
strong on security.
- Includes a web based development environment, maintenance
environment, and database
- Includes a Database Abstraction Layer that works with SQLite, MySQL,
PostgreSQL, FireBird, MSSQL, Oracle, AND the Google App Engine. The
DAL does migrations.
- Includes a pure Python based template language with no indentation
- Includes jQuery, simplejson, markdown, feedparser, PyRSS2, nicEdit,
EditArea and a lot more.
- Runs on any platform that runs python. The binary versions can even
run off a USB drive without dependences.
- The same apps can run on a PC with Oracle or on the Google App
Engine or on Windows Mobile, without changes, including DB API.
New features Include:
- Authorization (Role Based Access Controller)
- portable url fetch function
- portable geocoding function
- PEP8 compliant
- Python 2.5 and Python 2.6 compliant
- Runs on Jython (although without db drivers)
- Runs on IronPython (although without CSV, db drivers and internal
- DAL shortcuts
- SQLFORM has default image preview
- new generic.html view
- more examples and documentation
- always backward compatible
Example of code (complete app)
## in model db.py
from gluon.tools import *
## in controller default.py
" to expose register, login, logout, etc "
" to expose select, create, update, delete, etc "
" for downloading uploaded images "
## in view default/user.html
## in view default/data.html
This complete code will allow to register, login, change password,
upload images of puppies (with relative names), select puppies, edit
records, read and preview images, enforce authorization, and more.
Thanks to all the contributors:
* Attila Csipa (cron job)
* Bill Ferrett (modular DAL design)
* CJ Lazell (tester)
* DenesL (validators)
* Douglas Andrade (2.6 compliance, docstrings)
* Francisco Gama (bug fixing)
* Fran Boon (authorization and authentication)
* Fred Yanowski (XHTML compliance)
* Jonathan Benn (is_url validator and tests)
* Jose Jachuf (Firebird support)
* Limodou (winservice)
* Marcel Leuthi (Oracle support)
* Mark Larsen (taskbar widget)
* Mark Moore (databases and daemon scripts)
* Markus Gritsch (bug fixing)
* Martin Hufsky (expressions in DAL)
* Mateusz Banach (stickers)
* Michael Willis (shell)
* Nathan Freeze (admin design)
* Niall Sweeny (MSSQL support)
* Niccolo Polo (epydoc)
* Ondrej Such (MSSQL support)
* Pai (internationalization)
* Phyo Arkar Lwin (web hosting and Jython tester)
* Robin Bhattacharyya (Google App Engine support)
* Sharriff Aina (tester and PyAMF integration)
* Sterling Hankins (tester)
* Stuart Rackham (MSSQL support)
* Telman Yusupov (Oracle support)
* Timothy Farrell (python 2.6 compliance, windows support)
* Yarko Tymciurak (design)
* Younghyun Jo (internationalization)
Support the Python Software Foundation: