summaryrefslogtreecommitdiff
path: root/development/pim/pimpaper/backend.tex
Side-by-side diff
Diffstat (limited to 'development/pim/pimpaper/backend.tex') (more/less context) (ignore whitespace changes)
-rw-r--r--development/pim/pimpaper/backend.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/development/pim/pimpaper/backend.tex b/development/pim/pimpaper/backend.tex
new file mode 100644
index 0000000..2652b08
--- a/dev/null
+++ b/development/pim/pimpaper/backend.tex
@@ -0,0 +1,17 @@
+\section{The Backend Design}
+
+\subsection{The Template}
+OPimAccessBackend is a template interface of the Backend.
+It consists out of pure virtual functions to implement for
+load, reload, save and clear. You will also need to implement
+add, remove and replace.
+Todo, Event and Address inherit from OPimAccessBackend to create
+their Backend Type with additional functionality and also some
+default implementation for some queries.
+
+\subsection{Read Ahead}
+You may implement Read Ahead or Read Behind by implementing
+the specific find function. First you need to give the Frontend
+a hint on how many items you want to cache and then you can call
+cache to cache items.
+read Ahead returns the number of Records to read behind/ahead.