From a0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0 Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 20 Aug 2004 19:49:57 +0000 Subject: First Draft of Opie PIM Paper Giving an Overview and Reference for the used Attributes of the Backends --- (limited to 'development/pim/pimpaper/backend.tex') 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. -- cgit v0.9.0.2