:LastChangedDate: $LastChangedDate$ :LastChangedRevision: $LastChangedRevision$ :LastChangedBy: $LastChangedBy$ Twisted Glossary ================ .. _core-howto-glossary-adaptee: adaptee An object that has been adapted, also called "original" . See :ref:`Adapter ` . .. _core-howto-glossary-adapter: :py:class:`Adapter ` An object whose sole purpose is to implement an Interface for another object. See :doc:`Interfaces and Adapters ` . .. _core-howto-glossary-application: :py:func:`Application ` A :py:func:`twisted.application.service.Application` . There are HOWTOs on :doc:`creating and manipulating ` them as a system-administrator, as well as :doc:`using ` them in your code. .. _core-howto-glossary-avatar: Avatar (from :ref:`Twisted Cred ` ) business logic for specific user. For example, in :ref:`PB ` these are perspectives, in POP3 these are mailboxes, and so on. .. _core-howto-glossary-banana: :py:class:`Banana ` The low-level data marshalling layer of :ref:`Twisted Spread ` . See :py:mod:`twisted.spread.banana` . .. _core-howto-glossary-broker: :py:class:`Broker ` A :py:class:`twisted.spread.pb.Broker` , the object request broker for :ref:`Twisted Spread ` . .. _core-howto-glossary-cache: cache A way to store data in readily accessible place for later reuse. Caching data is often done because the data is expensive to produce or access. Caching data risks being stale, or out of sync with the original data. .. _core-howto-glossary-component: component A special kind of (persistent) :py:class:`Adapter ` that works with a :py:class:`twisted.python.components.Componentized` . See also :doc:`Interfaces and Adapters ` . .. _core-howto-glossary-componentized: :py:class:`Componentized ` A Componentized object is a collection of information, separated into domain-specific or role-specific instances, that all stick together and refer to each other. Each object is an :py:class:`Adapter ` , which, in the context of Componentized, we call "components" . See also :doc:`Interfaces and Adapters ` . .. _core-howto-glossary-conch: :py:mod:`conch ` Twisted's SSH implementation. .. _core-howto-glossary-connector: Connector Object used to interface between client connections and protocols, usually used with a :py:class:`twisted.internet.protocol.ClientFactory` to give you control over how a client connection reconnects. See :py:class:`twisted.internet.interfaces.IConnector` and :doc:`Writing Clients ` . .. _core-howto-glossary-consumer: Consumer An object that consumes data from a :ref:`Producer ` . See :py:class:`twisted.internet.interfaces.IConsumer` . .. _core-howto-glossary-cred: Cred Twisted's authentication API, :py:mod:`twisted.cred` . See :doc:`Introduction to Twisted Cred ` and :doc:`Twisted Cred usage ` . .. _core-howto-glossary-credentials: credentials A username/password, public key, or some other information used for authentication. .. _core-howto-glossary-credential-checker: credential checker Where authentication actually happens. See :py:class:`ICredentialsChecker ` . .. _core-howto-glossary-cvstoys: CVSToys A nifty set of tools for CVS, available at `http://twistedmatrix.com/users/acapnotic/wares/code/CVSToys/ `_ . .. _core-howto-glossary-daemon: Daemon A background process that does a job or handles client requests. *Daemon* is a Unix term; *service* is the Windows equivalent. .. _core-howto-glossary-deferred: :py:class:`Deferred ` An instance of :py:class:`twisted.internet.defer.Deferred` , an abstraction for handling chains of callbacks and error handlers ("errbacks" ). See the :doc:`Deferring Execution ` HOWTO. .. _core-howto-glossary-enterprise: Enterprise Twisted's RDBMS support. It contains :py:mod:`twisted.enterprise.adbapi` for asynchronous access to any standard DB-API 2.0 module. See :doc:`Introduction to Twisted Enterprise ` for more details. .. _core-howto-glossary-errback: errback A callback attached to a :ref:`Deferred ` with ``.addErrback`` to handle errors. .. _core-howto-glossary-factory: :py:class:`Factory ` In general, an object that constructs other objects. In Twisted, a Factory usually refers to a :py:class:`twisted.internet.protocol.Factory` , which constructs :ref:`Protocol ` instances for incoming or outgoing connections. See :doc:`Writing Servers ` and :doc:`Writing Clients ` . .. _core-howto-glossary-failure: :py:class:`Failure ` Basically, an asynchronous exception that contains traceback information; these are used for passing errors through asynchronous callbacks. .. _core-howto-glossary-im: im Abbreviation of "(Twisted) :ref:`Instance Messenger `" . .. _core-howto-glossary-instancemessenger: Instance Messenger Instance Messenger is a multi-protocol chat program that comes with Twisted. It can communicate via TOC with the AOL servers, via IRC, as well as via :ref:`PB ` with :ref:`Twisted Words ` . See :py:mod:`twisted.words.im` . .. _core-howto-glossary-interface: Interface A class that defines and documents methods that a class conforming to that interface needs to have. A collection of core :py:mod:`twisted.internet` interfaces can be found in :py:mod:`twisted.internet.interfaces` . See also :doc:`Interfaces and Adapters ` . .. _core-howto-glossary-jelly: Jelly The serialization layer for :ref:`Twisted Spread ` , although it can be used separately from Twisted Spread as well. It is similar in purpose to Python's standard ``pickle`` module, but is more network-friendly, and depends on a separate marshaller (:ref:`Banana ` , in most cases). See :py:mod:`twisted.spread.jelly` . .. _core-howto-glossary-manhole: Manhole A debugging/administration interface to a Twisted application. .. _core-howto-glossary-microdom: Microdom A partial DOM implementation using :ref:`SUX ` . It is simple and pythonic, rather than strictly standards-compliant. See :py:mod:`twisted.web.microdom` . .. _core-howto-glossary-names: Names Twisted's DNS server, found in :py:mod:`twisted.names` . .. _core-howto-glossary-nevow: Nevow The successor to :ref:`Woven ` ; available from `Divmod `_ . .. _core-howto-glossary-pb: PB Abbreviation of ":ref:`Perspective Broker `" . .. _core-howto-glossary-perspectivebroker: Perspective Broker The high-level object layer of Twisted :ref:`Spread ` , implementing semantics for method calling and object copying, caching, and referencing. See :py:mod:`twisted.spread.pb` . .. _core-howto-glossary-portal: Portal Glues :ref:`credential checkers ` and :ref:`realm ` s together. .. _core-howto-glossary-producer: Producer An object that generates data a chunk at a time, usually to be processed by a :ref:`Consumer ` . See :py:class:`twisted.internet.interfaces.IProducer` . .. _core-howto-glossary-protocol: :py:class:`Protocol ` In general each network connection has its own Protocol instance to manage connection-specific state. There is a collection of standard protocol implementations in :py:mod:`twisted.protocols` . See also :doc:`Writing Servers ` and :doc:`Writing Clients ` . .. _core-howto-glossary-psu: PSU There is no PSU. .. _core-howto-glossary-reactor: Reactor The core event-loop of a Twisted application. See :doc:`Reactor Basics ` . .. _core-howto-glossary-reality: Reality See ":ref:`Twisted Reality `" .. _core-howto-glossary-realm: realm (in :ref:`Twisted Cred ` ) stores :ref:`avatars ` and perhaps general business logic. See :py:class:`IRealm ` . .. _core-howto-glossary-resource: :py:class:`Resource ` A :py:class:`twisted.web.resource.Resource` , which are served by Twisted Web. Resources can be as simple as a static file on disk, or they can have dynamically generated content. .. _core-howto-glossary-service: Service A :py:class:`twisted.application.service.Service` . See :doc:`Application howto ` for a description of how they relate to :ref:`Applications ` . .. _core-howto-glossary-spread: Spread Twisted Spread is Twisted's remote-object suite. It consists of three layers: :ref:`Perspective Broker ` , :ref:`Jelly ` and :ref:`Banana. ` See :doc:`Writing Applications with Perspective Broker ` . .. _core-howto-glossary-sux: SUX *S* mall *U* ncomplicated *X* ML, Twisted's simple XML parser written in pure Python. See :py:mod:`twisted.web.sux` . .. _core-howto-glossary-tac: TAC A *T* wisted *A* pplication *C* onfiguration is a Python source file, generally with the *.tac* extension, which defines configuration to make an application runnable using ``twistd`` . .. _core-howto-glossary-tap: TAP *T* wisted *A* pplication *P* ickle (no longer supported), or simply just a*T* wisted *AP* plication. A serialised application that was created with ``mktap`` (no longer supported) and runnable by ``twistd`` . See:doc:`Using the Utilities ` . .. _core-howto-glossary-trial: Trial :py:mod:`twisted.trial` , Twisted's unit-testing framework, based on the ``unittest`` standard library module. See also :doc:`Writing tests for Twisted code ` . .. _core-howto-glossary-twistedmatrixlaboratories: Twisted Matrix Laboratories The team behind Twisted. `http://twistedmatrix.com/ `_ . .. _core-howto-glossary-twistedreality: Twisted Reality In days of old, the Twisted Reality multiplayer text-based interactive-fiction system was the main focus of Twisted Matrix Labs; Twisted, the general networking framework, grew out of Reality's need for better network functionality. Twisted Reality has been superseded by the `Imaginary `_ project. .. _core-howto-glossary-usage: :py:mod:`usage ` The :py:mod:`twisted.python.usage` module, a replacement for the standard ``getopt`` module for parsing command-lines which is much easier to work with. See :doc:`Parsing command-lines ` . .. _core-howto-glossary-words: Words Twisted Words is a multi-protocol chat server that uses the :ref:`Perspective Broker ` protocol as its native communication style. See :py:mod:`twisted.words` . .. _core-howto-glossary-woven: Woven *W* eb *O* bject *V* isualization *En* vironment. A templating system previously, but no longer, included with Twisted. Woven has largely been superseded by `Divmod Nevow `_ .