[repo] Add a publish/subscribe mechanism for inter-instance communication using zmq
Each repo can have a publishing and any number of subscribing sockets
whose addresses are specified in the instance's configuration. An
application or cube can subscribe to some 'topics', and give a callback
that gets called when a message matching that topic is received.
As a proof of concept, this introduces a hook to clean up the caches
associated with the repository when an entity is deleted.
A subscription is added using Repository::zmq::add_subscription;
the callback receives a list representing the received multi-part
message as argument (the first element of the message is its topic).
.. -*- coding: utf-8 -*-
.. role:: raw-html(raw)
:format: html
Flux RSS
--------
RSS est une technologie très utile qui peut être utilisée de manière très
générique sur ce site. N'importe quel résultat de requête peut-être présenté
comme un flux RSS. Vous pouvez donc ensuite connecter ce flux à n'importe quel
lecteur RSS pour suivre l'activité de ce cite. Par exemple pour avoir les
derniers changements sous forme de flux RSS:
:raw-html:`<p><a class="reference"
href="view?vid=rss&rql=Any+X%2CM+WHERE+X+modification_date+M+ORDERBY+M+DESC+LIMIT+30"><img
alt="rss" src="data/rss.png"> latest changes</img></a></p>`