[Zope] "Automatic" creation of searchable documents from Oracle DB tables

R. David Murray bitz@bitdance.com
Sun, 27 Aug 2000 21:43:25 -0400 (EDT)


On Sun, 27 Aug 2000, Chris Beaumont wrote:
> Then, one (in the case of the event types without possible "parents") 
> or both of the SQL Methods are called in an DTML Document input form. 
> When the form is submitted a DTML Method is triggered, which right 
> now only shows an acknowledging thank you to the person who submits 
> the information.
> 
> So, if I understand you correctly, **I should then use that action to 
> create a class that is tied to the primary key of the database table. 
> Is there an example somewhere of this RDBMS table-keyed "automatic" 
> creation of ZClasses or DTML documents?*
[...]
> Anyway, if you have the time and can think of any handy pointers to 
> documentation or relevant examples, Id appreciate it.. But even if 
> not, you already have given me a good start..  It shouldn't be very 

I'm still not clear on why you want to instantiate objects instead
of just dynamically generating the pages out of the database.  But
if instantiating ZClasses when the action method is called is what
you want to do, check out the HowTo Adding ZClass Instances Programatically:

 http://www.zope.org/Members/tazzzzz/addZClasses

--RDM