Re: help with plone.app.event

dieter <[email protected]> Fri, 03 Apr 2015 09:52:18 +0200
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Stefano Prestini <stefano.prestini-y6W5KEIK/[email protected]> writes:
> On plone I installed and configured plone.app.event, by clicking "save and import" events are downloaded from the webdav server and shown in plone folder with "Solgema fullcalendar" view
>
> The question is this: can I automate import from webdav server without having to click anytime the button "save and import"?

Web applications (such as Plone) are mostly client controlled: any
action is (usually) initiated by a client.

In your case, this means, that some client must call for the
"save and import" to initiate the webdav interaction.

However, "client" does not necessarily mean a human user. It can be
something automatic - e.g. a periodically executed script.


There are essentially two kinds of automatic actions:

  1. actions associated with some kind of other client
     initiated activity.

  2. periodically initiated actions

For the first kind, you might be able to use a subscriber for a
Zope event -- e.g. do something when a user logs in or when events
are created/modified.

For the second kind, you can either use Zope's "clockserver"
or an externally scheduled action (e.g. via "cron" on *Nix systems).


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/