Your search query "linkto%3A%22Programmatic%22" didn't return any results. Please change some terms and refer to HelpOnSearching for more information.
(!) Consider performing a full-text search with your search terms.

Clear message

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.

Unable to edit the page? See the FrontPage for instructions.