[Zope] Re: object modification email
   
    Chris Withers
     
    chrisw@nipltd.com
       
    Fri, 27 Dec 2002 12:06:18 +0000
    
    
  
hazmat wrote:
> i would write a plugin index for the catalog, such that when an object 
> is reindexed i apply my biz  rulz and send out emails if nesc. 
Even more evilly, you can just write a python script named do_my_stuff that does 
stuff but returns None, then add an index to your catalog called do_my_stuff and 
let your objects acquire the do_my_stuff method. That way, every time they are 
recatalogued, your method gets executed.
Works particularly well with CMF sits where catalog updating is done for you.
Evil huh?
*grinz*
Chris - side effects rock