Module Reference
Previous:
Contents
Up:
Module Reference
Next:
1.1 web
1. Web Modules
The Web Modules are a series of useful librares for building web applications without the need to learn a framework.
Subsections
1.1
web
-- Web modules
1.2
web.auth
-- Easy to use authorisation and user management system
1.2.1 Password Protecting Your Code
1.2.1.1 Function Reference
1.2.2 Administering The Auth Environment
1.2.2.1 Adding Applications
1.2.2.2 Adding Users
1.2.2.3 Setting Access Levels
1.2.2.4 Function Reference
1.2.3 Examples
1.2.3.1 Creating the Auth Environment
1.2.3.2 Password Protecting Code
1.2.3.3 Using Alternative Drivers
1.3
datetime
-- Compatibility code providing date and time classes for Python 2.2 users
1.3.1 Module-Level Functionality
1.3.2 Compatibility with Python 2.3 and above
1.4
web.database
-- SQL database layer
1.4.1 Introduction
1.4.1.1 Overview of Approach
1.4.1.2 Supported Databases
1.4.2 Connecting to a Database
1.4.3 Cursor Options
1.4.4 Using SQL Commands
1.4.4.1 Understanding Field Types
1.4.4.2 Selecting Data
1.4.4.3 Inserting Data
1.4.4.4 Updating Data
1.4.4.5 Deleting Data
1.4.4.6 Creating Tables
1.4.4.7 Dropping Tables
1.4.4.8 Altering Tables
1.4.4.9 Functions
1.4.5 Cursor Methods
1.4.6 Debugging
1.4.7 Utility Methods
1.4.8 Developer Notes
1.4.8.1 The Types Cache
1.4.8.2 Field Information
1.4.9 Database Specific Notes
1.4.9.1 MySQL
1.4.9.2 SQLite
1.4.9.3 ODBC
1.4.9.4 Complicaitons with Gadfly
1.4.10 Test Code
1.4.11 Future
1.5
web.database.object
-- An object relation mapper built on the
web.database
and
web.form
modules
1.5.1 Introduction
1.5.1.1 Requirements
1.5.1.2 Compared To Other Database Wrappers
1.5.2 Introductory Example
1.5.2.1 Full Code Listing
1.5.2.2 Using Alternative Keys
1.5.2.3 Available Columns
1.5.3 One-To-Many Mappings
1.5.3.1 Full Code Listing
1.5.4 Many-To-Many Mappings
1.5.4.1 Full Code Listing
1.5.5 Building Queries
1.5.5.1 How It Works
1.5.5.2 Supported Operators
1.5.5.3 Supported Functions
1.5.5.4 Full Code Listing
1.5.6 Creating Forms/Tables
1.5.6.1 Full Code Listing
1.5.7 Creating Tables by Defining Classes
1.5.8 Other Useful Features
1.5.9 Class Reference
1.5.9.1 The Database Object
1.5.9.2 The Table Object
1.5.9.3 The Row Object
1.5.10 Future
1.6
web.error
-- Enhanced error handling based on the
cgitb
module
1.6.1 Basic Usage
1.6.2 Using the built in handlers
1.6.3 Creating Custom Handlers
1.6.4 Example
1.7
web.form
-- Construction of persistant forms/wizards for HTML interfaces
1.7.1 Introduction
1.7.2 Form Objects
1.7.3 Creating Custom Forms
1.7.4 Fields
1.7.4.1
web.form.field.basic
-- Various fields for use with
web.form
1.7.4.2
web.form.field.typed
-- Typed fields for use with
web.form
and
web.database.object
1.7.4.3
web.form.field.extra
-- Extra fields for use with
web.form
1.7.5 Basic Fields Example
1.7.6 Typed Fields Example
1.8
web.image
-- Create and manipulate graphics including JPG, PNG, PDF, PS using
PIL
1.8.1
web.image.graph
-- Create graphs
1.9
web.mail
-- Simple function to send email using
email
1.9.1 Example
1.10
web.session
-- Peristant storage of session and automatic cookie handling
1.10.1 Introduction
1.10.2 Example
1.10.3 Session Object Reference
1.10.4 Multiple Applications
1.10.5 Writing a Module Based On Session
1.10.6 Session Destruction
1.10.7 Setting up a Session Environment
1.10.8 Future
1.11
web.template
-- For the easy display of data as HTML/XML
1.11.1 Cheetah Template
1.11.2 XYAPTU Templating
1.11.3 Dreamweaver MX
1.12
web.util
-- Useful utility functions that don't fit elsewhere
1.13
web.xml
-- XSLT Transform
Module Reference
Previous:
Contents
Up:
Module Reference
Next:
1.1 web
Documentation released on November 18, 2004 .
See
About this document...
for information on suggesting changes.