diff options
| author | Paul Everitt <paul@agendaless.com> | 2008-07-24 19:36:43 +0000 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2008-07-24 19:36:43 +0000 |
| commit | c4d7f0b657c8863f34f3c9ea0bccb96aa7763877 (patch) | |
| tree | 7c79ee8898c2b0f232f6d68865e473c9c09748d3 /docs/glossary.rst | |
| parent | d4e2e0b7c71c7b9e70b6438a746a8ef89ed97567 (diff) | |
| download | pyramid-c4d7f0b657c8863f34f3c9ea0bccb96aa7763877.tar.gz pyramid-c4d7f0b657c8863f34f3c9ea0bccb96aa7763877.tar.bz2 pyramid-c4d7f0b657c8863f34f3c9ea0bccb96aa7763877.zip | |
Start working on a glossary. Also, start changing repoze.bfg occurrences to :mod: as I find them.
Diffstat (limited to 'docs/glossary.rst')
| -rw-r--r-- | docs/glossary.rst | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst new file mode 100644 index 000000000..8452f915c --- /dev/null +++ b/docs/glossary.rst @@ -0,0 +1,57 @@ +.. _glossary: + +============================ + :mod:`repoze.bfg` Glossary +============================ + +.. glossary:: + + request + A ``WebOb`` request object. + response + An object that has three attributes: app_iter (representing an + iterable body), headerlist (representing the http headers sent + upstream), and status (representing the http status string). This + is the interface defined for ``WebOb`` response objects. + view + A "view" is a callable which returns a response object. It should + accept two values: context and request. + view name + The "URL name" of a view, e.g "index.html". If a view is + configured without a name, its name is considered to be the empty + string (which implies the "default view"). + model + An object representing data in the system. A model is part of the + object graph traversed by the system. Models are traversed to + determine a context. + context + A model in the system that is found during traversal; it becomes + the subject of a view. + application registry + A registry which maps model types to views, as well as performing + other application-specific component registrations. + template + A file that is capable of representing some text when rendered. + interface + An attribute of a model object that determines its type. + security policy + An object that provides a mechanism to check authorization using + authentication data and a permission associated with a model. It + essentially returns "true" if the combination of the authorization + information in the model (e.g. an ACL) and the authentication data + in the request (e.g. the REMOTE_USER) allow the action implied by + the permission associated with the view (e.g. "add"). + principal + A user id or group id. + permission + A permission is a string token that is associated with a view name + and a model type by the developer. Models are decorated with + security declarations (e.g. ACLs), which reference these tokens + also. A security policy attempts to match the view permission + against the model's statements about which permissions are granted + to which principal to answer the question "is this user allowed to + do this". + WSGI + `Web Server Gateway Interface <http://wsgi.org/>`_. This is a + Python standard for connecting web applications to web servers, + similar to the concept of Java Servlets. |
