You are not logged in Log in Join
You are here: Home » Members » Bill Anderson on Zope.org » ThroughTheLookingGlass » DocumentStore

Log in
Name

Password

 
 

History for DocumentStore

??changed:
-
Documents

 I thought about it, and one option I could use for having multiple types of 
 Documents was to create multiple objects. After realizing that most of the 
 propertysheets would be identical, I figured I would create a 'Document' 
 object, and that it would have a property of 'DocType', which would describe
 the type of object, be it a !HowTo, a Brief, or a Review, for example.

Document Object Creation Process

 The Document object is a !ZClass product, that inherits from !DataSkins, Renderable, and 
 Object Container. I chose the latter so that some documents could contain pictures, 
 files, etc..

 I then described three property sheets, in accordance with my general !PropertySheets
 template for the site..

!DocumentStore

 The actual Documents are stored in a Folder w/Customizer Support named
 !DocumentStore. Under data Plug-Ins, I added a Cataloging Trigger, to index the 
 Document objects with the site catalog. As the site grows, I may consider multiple,
 catalogs; one per !DocType