[Twisted-web] First Post?

Travis B. Hartwell twisted-web@twistedmatrix.com
Wed, 10 Dec 2003 22:57:05 -0700


My co-located box is almost ready.  I just have to install Python 2.3 
and get DNS updated and I'm ready to run Twisted Web.  I suppose I
should try out Nevow and see if it is really worth all the hype.

Let me explain what I want to do for my personal website, and perhaps
I can get some suggestions on the proper way to go about it.  I'm
going to use the file system as poor man's content management system.
To explain what I mean, first some ascii art explaining my idea,
though the layout really doesn't matter:

------------------------------------------------------------      
| Travis B. Hartwell's Website                             | <- header
|                                                          |
|  Home  About  Blog  Words  *Projects*  Links             | <- main menu
|                                                          |
------------------------------------------------------------
|               | <-- sub-menu                             |
|    Informant  |                                          |
|        *About*|   Informant is a Gnome notification      |
|        Screen-|     area application....                 |
|          shots|                                          |
|        Down-  |                                          |
|         loads |                                          |
|               |                                          |
|    Checkmail  |                                          |
|    Beyond     |                                          |
|    Twisted    |                                          |
|               |      body                                |
|               |                                          |
|               |                                          |
|               |                                          |
------------------------------------------------------------


Does this make sense?  The layout will basically consist of 3 parts.
The header, at the bottom of which will be the main menu.  Each entry
in the main menu will correspond to a directory under the top level
site directory.  In this case, we are on the Projects page, which is
highlighted in some fashion.  The 2nd part is the sub-menu on the
left.  The 4 main menu entries (Informant, Checkmail, ...) are each
themselves directories underneath the Projects directory.  The menu
entries indented under "Informant" are each then files in that
directory.  The 3rd part is the body.  The stuff that is in the body
is stuff that is actually in an XHTML file, whether it be index.html
or About.html in the above example.  Each one of these parts is in a
<div> tag, and then is formatted with a CSS file.

Does this make sense?  Is this a better way of doing this sort of
thing?  If this is reasonable, what is the best way to do this with
Nevow?  Thanks for the help!

Travis