[EMAIL PROTECTED] wrote:
Hi folks,

I'm trying to add a new event listener into the repository. Each time a document is created or updated, it will be validated and parsed. Following the result and the content some actions will be executed (copy, CMS request (WF,..),...)

Is the event listener available on all the namespace into the repository?
Yes.

Is it a good idea to make "time consuming process" (xml validation, xml parsing, and http request) into an event handler?
You should run some tests. It also depends on your situation (high load/traffic or not). You can probably try to hook into the PostContentEvents with time consuming events. It's up to you if you make the event handling blocking or not.

Has anyone still custom an event listener ?
I'm not really sure. I thing some people have modified versions of the stock ones for things like clustering.

Regards,
Bart


Thanks

David Calcus
Smals -  F. Manini - Web Content Management
Rue du Prince Royal 102, 1050 Bruxelles
[EMAIL PROTECTED]
+32 (0)2 787 54 92
______________________________________________________________________________________________
Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in geen geval een erkenning van welkdanige aansprakelijkheid in. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen.

Smals décline toute responsabilité quant à l'exactitude, à l'exhaustivité et au délai de transmission des informations contenues dans cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle qu'elle soit. Ce message s'adresse uniquement au destinataire. Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message. ********************************************
Hippocms-dev: Hippo CMS development public mailinglist


--
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  [EMAIL PROTECTED]
-----------------------------------------------------------------
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Reply via email to