web2py
web2py
|
|
---|---|
![]() |
|
Basic data
|
|
developer | Massimo Di Pierro |
Current version |
2.18.4 ( March 13, 2019 ) |
operating system | cross-platform |
programming language | python |
category | Web framework |
License | LGPLv3 ( Free Software ) |
www.web2py.com |
web2py is a free web framework for the agile development of database-based web applications . It is written in the Python programming language .
Web2py focuses on data security by using standard mechanisms to validate user input and mask output, thus preventing most common points of attack such as SQL injections , cross-site scripting and unsafe direct referencing of objects . Further, it encourages developers to use clean practices of software development, such as the Model-View-Controller - architecture patterns , monkeys forms , server-side sessions or the safe handling of uploaded files.
web2py is a complete framework, as it contains components for all common main functions of its intended use: Some examples:
- Handling of cookies , sessions , HTTP requests and responses
- configurable caching in main memory and on mass storage
- multilingual content
- automatic logging of errors including their respective context.
- an abstraction layer for databases that dynamically generates SQL
- Templates enable the use of Python code embedded in HTML code, unlike Django, for example, there is no separate template language to learn
- Compatibility with many database management systems (currently SQLite , MySQL , PostgreSQL , Oracle , Microsoft SQL Server , Firebird , IBM DB2 , Informix , Ingres and Google App Engine (Datastore) )
One feature of web2py arises from its origin: it was originally designed at DePaul University as a teaching / learning tool and therefore has a very steep learning curve . Care was taken to ensure easy installation by avoiding the typical installation process. It also offers a web interface that enables the development and maintenance, testing, debugging and administration of the databases without special tools. A special feature of web2py is the downward compatibility , i. H. all websites developed with web2py will work with future versions.
web2py communicates via the WSGI - Interface , currently the latest development for communication between Web servers and Web applications in the Python environment. It also contains the SSL -capable WSGI server Rocket (up to version 1.76.5 CherryPy) implemented in native Python , but also offers access via CGI and FastCGI .
Applications
Based on web2py, two applications are implemented by the same authors, which on the one hand illustrate the possibilities of the framework and on the other hand represent full-fledged, flexibly usable os applications:
- T3
- is a wiki that, compared to the usual products of this category, allows a) the integration of databases and b) Python code in wiki pages.
- KPAX
- is a content management system that offers essential basic functions such as attachments, auto-navigation and user groups and uses an Ajax interface.
literature
- Web programming with web2py , Python Magazine , Marco Tabini & Associates, Inc., June 2008
- Massimo Di Pierro: web2py Manual, Wiley Publishing, 2008, ISBN 978-0-470-43232-7 ( Memento of May 11, 2010 in the Internet Archive )
Web links
- web2py developer website
- web2py download link
- Forum at Google Groups
- web2py Enterprise Web Framework (video)
- web2py on the Google appengine (video)
- web2py "Shootout" Tutorial (Video)
Individual evidence
- ↑ github.com .
- ↑ http://tecton10.appspot.com ( Page no longer available , search in web archives ) Info: The link was automatically marked as defective. Please check the link according to the instructions and then remove this notice.
- ↑ http://www.vimeo.com/1098656