<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Theory of Operation — zope.event 4.3.0 documentation</title> <link rel="stylesheet" href="_static/classic.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <script type="text/javascript" src="_static/language_data.js"></script> <link rel="index" title="Index" href="genindex.html" /> <link rel="search" title="Search" href="search.html" /> <link rel="next" title="zope.event API Reference" href="api.html" /> <link rel="prev" title="Using zope.event" href="usage.html" /> </head><body> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="api.html" title="zope.event API Reference" accesskey="N">next</a> |</li> <li class="right" > <a href="usage.html" title="Using zope.event" accesskey="P">previous</a> |</li> <li class="nav-item nav-item-0"><a href="index.html">zope.event 4.3.0 documentation</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body" role="main"> <div class="section" id="theory-of-operation"> <span id="theory-docs"></span><h1>Theory of Operation<a class="headerlink" href="#theory-of-operation" title="Permalink to this headline">¶</a></h1> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">This section explains both why an application or framework might publish events, and various ways the integrator might configure the subscribers to achieve different goals.</p> </div> <div class="section" id="outline"> <h2>Outline<a class="headerlink" href="#outline" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Events as decoupling mechanism.<ul> <li>Injecting policy into reusable applications.</li> <li>Extending frameworks.</li> </ul> </li> <li>Event dispatch strategies<ul> <li>Type-based dispatch, as used in ZCA</li> <li>Attribute-based / key-based dispatch</li> </ul> </li> </ul> </div> </div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <div class="sphinxsidebarwrapper"> <h3><a href="index.html">Table of Contents</a></h3> <ul> <li><a class="reference internal" href="#">Theory of Operation</a><ul> <li><a class="reference internal" href="#outline">Outline</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="usage.html" title="previous chapter">Using <code class="docutils literal notranslate"><span class="pre">zope.event</span></code></a></p> <h4>Next topic</h4> <p class="topless"><a href="api.html" title="next chapter"><code class="docutils literal notranslate"><span class="pre">zope.event</span></code> API Reference</a></p> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/theory.rst.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3>Quick search</h3> <div class="searchformwrapper"> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="api.html" title="zope.event API Reference" >next</a> |</li> <li class="right" > <a href="usage.html" title="Using zope.event" >previous</a> |</li> <li class="nav-item nav-item-0"><a href="index.html">zope.event 4.3.0 documentation</a> »</li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2010, Zope Foundation and Contributors. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.3. </div> </body> </html>