Web2py: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Rbenech (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
Web2py is an open source [[framework]] for [[agile development]] of database driven web applications. Web2py is written in the [[Python]] language and is programmable in [[Python]]. Web2py has a focus on security by providing default mechanisms for validation of input and escaping of output (this prevents the most common vulnerabilities such as SQL Injections, Cross-Site-Scripting, and Insecure Direct Object Referencing). Web2py also forces the developer to follow sound software engineering practices (such as the Model-View-Controller pattern, Self-Submission of Web forms, Server-Side session, safe handling of uploaded files).
Web2py is an open source [[framework]] for [[agile development]] for creating [[Python]] web applications.

web2py is a full-stack framework in the sense that it is mostly built out of home grown components. It includes libraries for handling cookies, session, http request, http response, cache (on ram, disk, memcache), internationalization, for logging errors and it includes an Object Relation Mapper that generates SQL dynamically for multiple compatible database backends (SQLite, MySQL, PostgreSQL, Oracle and Google App Engine).

web2py differs from other frameworks because it was originally designed as a teaching tool at DePaul University and thus is has a very shallow learning curve. For this reason it is designed to be easy to setup (requires no installation) and provides a web based interface that allows development, debugging, testing, maintenance and remote database administration remotely and without third party tools.

Web2py is built following the SWGI protocol, the latest Python protocol for communication between web server and web applications. It also provides handlers for CGI and the FastCGI protocols, and it includes the ssl-enabled CherryPy wsgiserver.

Revision as of 18:52, 27 June 2008

Web2py is an open source framework for agile development of database driven web applications. Web2py is written in the Python language and is programmable in Python. Web2py has a focus on security by providing default mechanisms for validation of input and escaping of output (this prevents the most common vulnerabilities such as SQL Injections, Cross-Site-Scripting, and Insecure Direct Object Referencing). Web2py also forces the developer to follow sound software engineering practices (such as the Model-View-Controller pattern, Self-Submission of Web forms, Server-Side session, safe handling of uploaded files).

web2py is a full-stack framework in the sense that it is mostly built out of home grown components. It includes libraries for handling cookies, session, http request, http response, cache (on ram, disk, memcache), internationalization, for logging errors and it includes an Object Relation Mapper that generates SQL dynamically for multiple compatible database backends (SQLite, MySQL, PostgreSQL, Oracle and Google App Engine).

web2py differs from other frameworks because it was originally designed as a teaching tool at DePaul University and thus is has a very shallow learning curve. For this reason it is designed to be easy to setup (requires no installation) and provides a web based interface that allows development, debugging, testing, maintenance and remote database administration remotely and without third party tools.

Web2py is built following the SWGI protocol, the latest Python protocol for communication between web server and web applications. It also provides handlers for CGI and the FastCGI protocols, and it includes the ssl-enabled CherryPy wsgiserver.