[Zope] Automatically run an external method?

Bruce Eckel Bruce@EckelObjects.com
Sat, 15 Dec 2001 16:35:58 -0800


Yes, a file modified through the web interface and saved to the
ZODB. For example, something like a DTML Document.

The idea is that the document is a configuration/information file,
and the external method will take this and process it to generate
an output file.

Seems like this could be a useful model in general for solving
problems. (input-process-output, triggered by a change in input).

*********** REPLY SEPARATOR  ***********

On 12/15/01 at 2:59 PM zope news wrote:

>I think I understand your question: do you mean a file saved to
zodb
>through
>the webinterface?
>If so, then try to create your own screen and  dtml document to
upload your
>file.
>
>Else if you want to circumvent to already provide (by zope.org)
classes,
>then try a hotfix approach.
>
>Regards,
>Luis.
>
>
>
>----- Original Message -----
>From: "Bruce Eckel" <Bruce@EckelObjects.com>
>To: <zope@zope.org>
>Sent: Saturday, December 15, 2001 2:22 PM
>Subject: [Zope] Automatically run an external method?
>
>
>> Is it possible to automatically run an external method every
time a
>> file is saved? That is, is there some kind of file where I can
say
>> "when you're saved, call this method?"t
>>
>> Most current information can be found at:
>> http://www.mindview.net/Etc/notes.html
>> ===================
>> Bruce Eckel    http://www.BruceEckel.com
>> Contains free electronic books: "Thinking in Java 2e" &
"Thinking
>> in C++ 2e"
>> Please subscribe to my free newsletter -- just send any email
to:
>> join-eckel-oo-programming@earth.lyris.net
>> My schedule can be found at:
>> http://www.mindview.net/Calendar
>> ===================
>>
>>
>>
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )
>>
>>
>>



Most current information can be found at:
http://www.mindview.net/Etc/notes.html
===================
Bruce Eckel    http://www.BruceEckel.com
Contains free electronic books: "Thinking in Java 2e" & "Thinking
in C++ 2e"
Please subscribe to my free newsletter -- just send any email to:
join-eckel-oo-programming@earth.lyris.net
My schedule can be found at:
http://www.mindview.net/Calendar
===================