[Zope] Organizing Zope Content

James W. Howe jwh@allencreek.com
Thu, 13 Jan 2000 12:01:24 -0500


I'm learning Zope in anticipation of using it on an upcoming project.  The 
project involves development of a web site for a weekly news 
publication.  I've been experimenting with trying to recreate a portion of 
an existing web site which offers similar functionality to what will be 
needed for my new project.  I've started with taking some existing pages in 
HTML and refactoring them into various Zope DTML methods.  I'm trying to 
restructure things so that content is separated from presentation.  So far 
I think I've been somewhat successful in building up a presentation layer, 
but I'm still using some hardwired content in places.  What I want to do 
next is set up a structure for the content which can then be plugged into 
the presentation objects.

I'm looking for ideas on how to structure my content.  For example, one of 
my pages needs to display headlines with little snippets of the article 
itself.  Clicking the headline would cause the full article to 
display.  What I want to be able to do is build a structure such that I 
could iterate over items, pick up headlines, and generate the headlines 
page dynamically.  It is also a requirement of this site that it can 
display previous editions of the web site.  For that I would like to be 
able to invoke my headlines in such a way that it could generate different 
headlines depending on which issue of the news publication was desired.

Any tips on how I might structure my content (basically news articles) and 
how my presentation layer might be able to utilize the content would be 
appreciated.

Thanks.

James W. Howe				mailto:jwh@allencreek.com
Allen Creek Software, Inc.		pgpkey: http://ic.net/~jwh/pgpkey.html		
Ann Arbor, MI  48103