/usr/share/doc/python-nevow/howto/glossary.html is in python-nevow 0.10.0-4build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | <?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Nevow:
Glossary
</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body bgcolor="white">
<h1 class="title">
Glossary
</h1>
<div class="toc"><ol><li><a href="#auto0">Object Traversal</a></li><li><a href="#auto1">Page Rendering</a></li><li><a href="#auto2">Deployment Environment</a></li><li><a href="#auto3">DOM</a></li><li><a href="#auto4">Flattener</a></li><li><a href="#auto5">Tag</a></li><li><a href="#auto6">Tag Specials</a></li></ol></div>
<div class="content">
<span/>
<h2>Object Traversal<a name="auto0"/></h2>
<p>
The process by which a Python object is located to render HTML for a
given HTTP URL. For example, given the URL http://example.com/foo/bar,
Object Traversal will begin at the "Root Resource" object by asking it
for an object which is capable of rendering the page at ('foo',
'bar'). The "Root Resource" returns an object and a list of unhandled
path segments, and the traversal continues across this new Resource
object until all path segments have been consumed.
</p>
<h2>Page Rendering<a name="auto1"/></h2>
<p>
The process by which a Python object, usually a rend.Page subclass, turns
itself into HTML. Page Rendering involves locating some page data,
loading a template document, and applying the template to the data, in
the process generating HTML.
</p>
<h2>Deployment Environment<a name="auto2"/></h2>
<p>
The environment in which a Nevow application is deployed. Generally
involves an HTTP server which is configured to route certain (or all)
HTTP requests through the Nevow Object Traversal and Page Rendering
process. Deployment environments include CGI, WSGI, and twisted.web.
</p>
<h2>DOM<a name="auto3"/></h2>
<p>
Document Object Model. A tree of objects which represent the structure of
an XHTML document in memory. Nevow uses a nonstandard DOM named "stan",
which is made up of simple Python lists, dicts, strings, and
nevow.stan.Tag instances.
</p>
<h2>Flattener<a name="auto4"/></h2>
<p>
A Python function which knows how to translate from a rich type to a
string containing HTML. For example, the integer flattener calls str() on
the integer. The string flattener escapes characters which are unsafe in
HTML, such as <, >, and &.
</p>
<h2>Tag<a name="auto5"/></h2>
<p>
A class, defined at nevow.stan.Tag, which holds information about a
single HTML tag in a DOM. Tag instances have three attributes: tagName,
attributes, and children. tagName is a string indicating the tag
name. attributes is a dict indicating the HTML attributes of that
node. children is a list indicating the child nodes of that node.
</p>
<h2>Tag Specials<a name="auto6"/></h2>
<p>
A Tag attribute which is "special" to nevow. Tag specials include data,
render, pattern, slot, and macro. Tag Specials will never be output as
HTML attributes of tags, but will be used by the internal Nevow rendering
process to influence how the Tag is rendered.
</p>
</div>
<p><a href="index.html">Index</a></p>
<span class="version">Version: </span>
</body>
</html>
|