---

developerWorks: Network Programming with the Twisted Framework, Part 3

“In Part 2 of this series, I looked at dynamic Web pages served
by Twisted using the .rpy extension. But those initial versions of
a weblog server were only minimally dynamic. I used HTML tags to
force a page to refresh periodically, and upon each refresh
performed a bit of calculation to determine the relevant recent
hits. But there was no user configuration aspect to the server.

“The first thing we will look at in this installment, therefore,
is how to configure user interaction into the same basic dynamic
page framework we looked at before. But before I start, let me
include a quick reminder of how to launch a Twisted Web server for
readers who may not have read the prior installments of this
series.

“Creating a ‘pickled application’ is usually the best approach,
and it can be done purely with command-line options. You do not
have to do it this way. If you like, you are free to include some
extra capabilities inside the basic Web server (such as maintaining
persistent data across users and sessions), but it is not necessary
to write any custom code…”


Complete Story

Related Story:
developerWorks:
Network Programming with the Twisted Framework
(Jun 30,
2003)

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis