author | zecke <zecke> | 2004-08-20 19:49:57 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-20 19:49:57 (UTC) |
commit | a0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0 (patch) (unidiff) | |
tree | c9036b84162443550c374a7b832a40fc390490fa /development/pim/pimpaper/backend.tex | |
parent | d24c046127088eb8c2af9612043aba70fae66af6 (diff) | |
download | opie-a0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0.zip opie-a0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0.tar.gz opie-a0520b8e1012bec8a2f2e7fe1d15e6fd1d38f0b0.tar.bz2 |
First Draft of Opie PIM Paper
Giving an Overview and Reference for the used Attributes of
the Backends
Diffstat (limited to 'development/pim/pimpaper/backend.tex') (more/less context) (ignore whitespace changes)
-rw-r--r-- | development/pim/pimpaper/backend.tex | 17 |
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 @@ | |||
1 | \section{The Backend Design} | ||
2 | |||
3 | \subsection{The Template} | ||
4 | OPimAccessBackend is a template interface of the Backend. | ||
5 | It consists out of pure virtual functions to implement for | ||
6 | load, reload, save and clear. You will also need to implement | ||
7 | add, remove and replace. | ||
8 | Todo, Event and Address inherit from OPimAccessBackend to create | ||
9 | their Backend Type with additional functionality and also some | ||
10 | default implementation for some queries. | ||
11 | |||
12 | \subsection{Read Ahead} | ||
13 | You may implement Read Ahead or Read Behind by implementing | ||
14 | the specific find function. First you need to give the Frontend | ||
15 | a hint on how many items you want to cache and then you can call | ||
16 | cache to cache items. | ||
17 | read Ahead returns the number of Records to read behind/ahead. | ||