Files
@ e736cb6f70a8
Branch filter:
Location: rattail-project/rattail/docs/glossary.rst
e736cb6f70a8
4.8 KiB
text/prs.fallenstein.rst
Update changelog
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | .. _glossary:
Glossary
========
.. glossary::
:sorted:
app
As the term is used within Rattail Project documentation, this usually
refers to a custom software application, built using Rattail, which runs
on a server somewhere. Such an app may often be referred to with the name
:term:`Poser`, within the docs. An app may or may not be a :term:`web
app` for instance. Of course, "app" may also refer to *any* software
application.
web app
An :term:`app` which runs in a web browser, from the user's perspective.
app node
A specific instance of an :term:`app` which is part of a broader
(i.e. multi-node) :term:`system`.
system
This is mostly used generically, to represent various software
applications and/or devices etc. with which the :term:`app` must interact.
However sometimes the app itself may be referred to as a system, for
instance.
Poser
The "stand-in" name for a custom :term:`app` built using Rattail. No
actual app should ever be named Poser! When you see the name Poser, you
should mentally and literally replace it with whatever *other* name you
chose to give your app.
batch
Can generally be thought of as a temporary or "workspace" table, with data
which came from some source or other, and which the user may review and/or
manipulate, before ultimately "executing" it, which in turn will update
data within various systems, as appropriate. Note that the term "batch"
primarily refers to the data itself, or the model instance representing
it; see :term:`batch handler` for the logic part.
.. seealso::
:ref:`batches`
batch handler
Class or instance thereof, responsible for the "handling" logic for a
certain type of :term:`batch`. Generally each type of batch will have at
least one "default" handler available, though more are possible. The
batch handler knows how to populate, refresh and execute batches.
handler
Broadly defined, this refers to an abstraction layer which is meant to
allow for easier customization etc. within the code. The "handler"
concept allows business rules and/or other logic to be defined in a way
which transcends the app somewhat, but may still be driven by the app.
There are a number of "types" of handlers, e.g. :term:`batch handler` and
:term:`import handler` to name just a couple.
importer
Class or instance thereof, which contains logic for the import/export of
data for *one specific model*, from one system to another. Note the
difference between an importer and an :term:`import handler`. Whereas the
handler is responsible for the overall "transaction" between the two
systems, the importer is responsible only for a single table,
conceptually. In casual discussion, the term "importer" may sometimes be
thrown around a bit more loosely, and e.g. refer to the system-level
processes. But within the code proper, the term "importer" always will
imply a particular data model association.
.. seealso::
:ref:`importers`
import handler
Class or instance thereof, responsible for the "handling" logic for an
overall import/export from one system to another. Primarily this is
concerned with the "transaction" (e.g. database connections) and
rollback/commit for the systems involved, where applicable. Each handler
will contain at least one :term:`importer` although most have more.
daemon
A software :term:`app` or part thereof, which runs continually in the
background. Examples are :term:`datasync` and a :term:`web app`.
datasync
Refers to a particular :term:`daemon` whose responsibility is to "watch"
various systems for data changes, and when any are found, cause various
other systems to "consume" those changes. This is a configurable,
multi-threaded app which spawns a separate thread for each :term:`datasync
watcher`, as well as a separate thread for each :term:`datasync consumer`
(per watcher).
datasync watcher
Class or instance thereof, responsible for "watching" a particular system
for data changes, within the :term:`datasync` daemon. May also refer to
the specific thread spawned by the daemon to run the watcher logic.
Changes found by the watcher are then processed by at least one
:term:`datasync consumer`.
datasync consumer
Class or instance thereof, responsible for "consuming" changes from a
"watched" system within the :term:`datasync` daemon. Any change coming
from a :term:`datasync watcher` is (potentially) then consumed by one or
more other systems; each of which will use a separate consumer. May also
refer to the specific thread spawned by the daemon to run the consumer
logic.
|