Debian Codegraph @

docs/source/index.rst

raw
1 Introduction and History
2 ========================
3 Welcome to Pecan, a lean Python web framework inspired by CherryPy,
4 TurboGears, and Pylons. Pecan was originally created by the developers
5 of `ShootQ <http://shootq.com>`_ while working at `Pictage
6 <http://pictage.com>`_.
7
8 Pecan was created to fill a void in the Python web-framework world – a
9 very lightweight framework that provides object-dispatch style
10 routing. Pecan does not aim to be a "full stack" framework, and
11 therefore includes no out of the box support for things like sessions
12 or databases (although tutorials are included for integrating these
13 yourself in just a few lines of code). Pecan instead focuses on HTTP
14 itself.
15
16 Although it is lightweight, Pecan does offer an extensive feature set
17 for building HTTP-based applications, including:
18
19 * Object-dispatch for easy routing
20 * Full support for REST-style controllers
21 * Extensible security framework
22 * Extensible template language support
23 * Extensible JSON support
24 * Easy Python-based configuration
25
26 Narrative Documentation
27 =======================
28
29 .. toctree::
30 :maxdepth: 2
31
32 installation.rst
33 quick_start.rst
34 routing.rst
35 templates.rst
36 rest.rst
37 configuration.rst
38 secure_controller.rst
39 hooks.rst
40 jsonify.rst
41 contextlocals.rst
42 commands.rst
43 development.rst
44 deployment.rst
45 logging.rst
46 testing.rst
47
48
49 Cookbook and Common Patterns
50 ============================
51 .. toctree::
52 :maxdepth: 2
53
54 forms.rst
55 sessions.rst
56 databases.rst
57 errors.rst
58 simple_forms_processing.rst
59 simple_ajax.rst
60
61
62 API Documentation
63 =================
64 Pecan's source code is well documented using Python docstrings and
65 comments. In addition, we have generated API documentation from the
66 docstrings here:
67
68
69 .. toctree::
70 :maxdepth: 2
71
72 pecan_core.rst
73 pecan_commands.rst
74 pecan_configuration.rst
75 pecan_decorators.rst
76 pecan_deploy.rst
77 pecan_hooks.rst
78 pecan_middleware_debug.rst
79 pecan_jsonify.rst
80 pecan_rest.rst
81 pecan_routing.rst
82 pecan_secure.rst
83 pecan_templating.rst
84 pecan_testing.rst
85 pecan_util.rst
86
87
88 Change History
89 =================
90
91 .. toctree::
92 :maxdepth: 1
93
94 changes.rst
95
96
97 License
98 -------
99 The Pecan framework and the documentation is BSD Licensed::
100
101 Copyright (c) <2010>, Pecan Framework
102 All rights reserved.
103
104 Redistribution and use in source and binary forms, with or without
105 modification, are permitted provided that the following conditions are met:
106 * Redistributions of source code must retain the above copyright
107 notice, this list of conditions and the following disclaimer.
108 * Redistributions in binary form must reproduce the above copyright
109 notice, this list of conditions and the following disclaimer in the
110 documentation and/or other materials provided with the distribution.
111 * Neither the name of the <organization> nor the
112 names of its contributors may be used to endorse or promote products
113 derived from this software without specific prior written permission.
114
115 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
116 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
117 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
118 DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
119 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
120 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
121 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
122 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
123 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
124 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
125
126
127