Low level API and other recipes simplejson PyRTF ReportLab and PDF Low level API and other recipes simplejson web2py includes gluon.contrib.simplejson, developed by Bob Ip...
Principles Principles Python programming typically follows these basic principles: Don’t repeat yourself (DRY). There should be only one way of doing things. Explicit is bett...
License License web2py is licensed under the LGPL version 3 License. The full text of the license is available in ref.[lgpl3 ]. In accordance with LGPL you may: redistribute...
Plugin repositories, plugin install via admin Plugin repositories, plugin install via admin While there is no single repository of web2py plugins you can find many of them at o...
Model-View-Controller Model-View-Controller web2py encourages the developer to separate data representation (the model), data presentation (the view) and the application workfl...
Accessing the API from Python modules Sharing the global scope with modules using the current object Warning! Do not use the current object in global scope in a module Access...
Migrations Migrations define_table checks whether or not the corresponding table exists. If it does not, it generates the SQL to create it and executes the SQL. If the table d...
Application init Application init When you deploy web2py, you will want to set a default application, i.e., the application that starts when there is an empty path in the URL...
About this book About this book This book includes the following chapters, besides this introduction: Chapter 2 is a minimalist introduction to Python. It assumes knowledge ...
Deployment recipes: Infrastructure anyserver.py Deployment recipes: Infrastructure There are multiple ways to deploy web2py in a production environment. The details depend on...