Please note: This wiki is currently running in test mode after an attack on January 5 2013. All passwords were reset, so you will have to use the password recovery function to get a new password. To edit wiki pages, please log in first. See the wiki attack description page for more details. If you find problems, please report them to the pydotorg-www mailing list.

Differences between revisions 2 and 3
Revision 2 as of 2008-11-15 14:00:48
Size: 888
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2013-02-05 01:58:42
Size: 882
Editor: techtonik
Comment: fix link after rename
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Programmatic presentation systems (see PresentationTechnologies) use Python program units to produce output for Web application "screens" and other purposes. The simplest form of such systems is the traditional "print to standard output" technique used in the earliest days of the Web and probably in numerous CGI (Common Gateway Interface) programs to this day: Programmatic presentation systems (see DataRepresentation) use Python program units to produce output for Web application "screens" and other purposes. The simplest form of such systems is the traditional "print to standard output" technique used in the earliest days of the Web and probably in numerous CGI (Common Gateway Interface) programs to this day:

Programmatic presentation systems (see DataRepresentation) use Python program units to produce output for Web application "screens" and other purposes. The simplest form of such systems is the traditional "print to standard output" technique used in the earliest days of the Web and probably in numerous CGI (Common Gateway Interface) programs to this day:

print "<table>"
for item in items:
    print "<tr>"
    print "<th>Name</th>"
    print "<td>%s</td>" % item.name
    print "</tr>"
print "</table>"

More recent programmatic presentation systems are very likely to employ more sophisticated approaches including the direct inclusion of HTML text within the Python code - a technique reminiscent of various SQL-based environments which embed SQL statements in other programming languages to supposedly reduce the complexity of the resulting source code.

Programmatic (last edited 2013-02-05 01:58:42 by techtonik)