web2py: Enterprise Web Framework

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

The official web2py manual. 3rd Edition. Includes many new pages (537 total). The online version and table of content is available from http: //web2py.com/book Publication date: August 12, 2010 Minor revision: September 25, 201

Author(s): Massimo DiPierro
Edition: 2
Year: 2009

Language: English

Contents
Preface
1 Introduction
1.1 Principles
1.2 Web Frameworks
1.3 Model-View-Controller
1.4 Why web2py
1.5 Security
1.6 In the box
1.7 License
1.8 License Commercial Exception
1.9 Acknowledgments
1.10 About this Book
1.11 Elements of Style
2 The Python Language
2.1 About Python
2.2 Starting up
2.3 help, dir
2.4 Types
2.5 About Indentation
2.6 for...in
2.7 while
2.8 def...return
2.9 if...elif...else
2.10 try... except...else...finally
2.11 class
2.12 Special Attributes, Methods and Operators
2.13 File Input/Output
2.14 lambda
2.15 exec, eval
2.16 import
3 Overview
3.1 Startup
3.2 Say Hello
3.3 Let’s Count
3.4 Say My Name
3.5 Form self-submission
3.6 An Image Blog
3.7 Adding CRUD
3.8 Adding Authentication
3.9 A Wiki
3.10 More on admin
3.11 More on appadmin
4 The Core
4.1 Command Line Options
4.2 URL Mapping
4.3 Libraries
4.4 Applications
4.5 API
4.6 request
4.7 response
4.8 session
4.9 cache
4.10 URL
4.11 HTTP and redirect
4.12 T and Internationalization
4.13 Cookies
4.14 init Application
4.15 URL Rewrite
4.16 Routes on Error
4.17 Cron
4.18 Import Other Modules
4.19 Execution Environment
4.20 Cooperation
5 The Views
5.1 Basic Syntax
5.2 HTML Helpers
5.3 BEAUTIFY
5.4 Page Layout
5.5 Using the Template System to Generate Emails
5.6 Layout Builder
6 The Database Abstraction Layer
6.1 Dependencies
6.2 Connection Strings
6.3 DAL, Table, Field
6.4 Migrations
6.5 Query, Set, Rows
6.6 One to Many Relation
6.7 How to see SQL
6.8 Exporting and Importing Data
6.9 Many to Many
6.10 Other Operators
6.11 Caching Selects
6.12 Shortcuts
6.13 Self-Reference and Aliases
6.14 Table Inheritance
7 Forms and Validators
7.1 FORM
7.2 SQLFORM
7.3 SQLFORM.factory
7.4 Validators
7.5 Widgets
7.6 CRUD
7.7 Custom form
8 Access Control
8.1 Authentication
8.2 Authorization
8.3 Central Authentication Service
9 Services
9.1 Rendering a dictionary
9.2 Remote Procedure Calls
9.3 Low Level API and Other Recipes
9.4 Services and Authentication
10 Ajax Recipes
10.1 web2py_ajax.html
10.2 jQuery Effects
10.3 The ajax Function
11 Deployment Recipes
11.1 Setup Apache on Linux
11.2 Setup mod_wsgi on Linux
11.3 Setup mod_proxy on Linux
11.4 Start as Linux Daemon
11.5 Setup Apache and mod_wsgi on Windows
11.6 Start as Windows Service
11.7 Setup Lighttpd
11.8 Apache2 and mod_python in a shared hosting environment
11.9 Setup Cherokee with FastGGI
11.10 Setup PostgreSQL
11.11 Security Issues
11.12 Scalability Issues
11.13 Google App Engine
12 Other Recipes
12.1 Upgrading web2py
12.2 Fetching a URL
12.3 Geocoding
12.4 Pagination
12.5 Streaming Virtual Files
12.6 httpserver.log and the log file format
12.7 Send an SMS
12.8 Twitter API
12.9 Jython
References
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y