Web to py enterprise web framework - p 3
MODEL-VIEW-CONTROLLER
5
In this simple example, the HTML page structure is represented programmatically by the HTML, BODY, and H1 objects; the database db1 is queried by the select command; finally, everything is serialized into HTML. This is just one example of the power of web2py and its built-in libraries. web2py does even more for the developer by automatically handling cookies, sessions, creation of database tables, database modifications, form validation, SQL injection prevention, cross-site scripting (XSS) prevention, and many other indispensable web application tasks. Web frameworks are typically categorized as one of two types: A "glued" framework is built by assembling (gluing together)...