summaryrefslogtreecommitdiff
path: root/sphinx/source/glossary.rst
blob: cfeb0966d9770e6b1042be2ce295fae2fce6f166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

Glossary
--------

.. glossary:: 

   application
      A CherryPy application is simply a class instance containing
      at least one page handler.

   controller
      Loose name commonly given to a class owning at least one exposed method

   exposed
      A Python function or method which has an attribute called `exposed`
      set to `True`. This attribute can be set directly or via the 
      :func:`cherrypy.expose()` decorator.

      .. code-block:: python
		      
         @cherrypy.expose
	 def method(...):
	     ...

      is equivalent to:

      .. code-block:: python
		      
	 def method(...):
	     ...
         method.exposed = True
         
   page handler
      Name commonly given to an exposed method