Diffstat (limited to 'development/pim/pimpaper/backend.tex') (more/less context) (ignore whitespace changes)
-rw-r--r-- | development/pim/pimpaper/backend.tex | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/development/pim/pimpaper/backend.tex b/development/pim/pimpaper/backend.tex index 2652b08..fcade7f 100644 --- a/development/pim/pimpaper/backend.tex +++ b/development/pim/pimpaper/backend.tex | |||
@@ -1,17 +1,17 @@ | |||
1 | \section{The Backend Design} | 1 | \section{The Backend Design} |
2 | 2 | ||
3 | \subsection{The Template} | 3 | \subsection{The Template} |
4 | OPimAccessBackend is a template interface of the Backend. | 4 | OPimAccessBackend is a template interface of the backend. |
5 | It consists out of pure virtual functions to implement for | 5 | It consists out of pure virtual functions for |
6 | load, reload, save and clear. You will also need to implement | 6 | load, reload, save and clear, add, remove and replace. |
7 | add, remove and replace. | 7 | Special inheritances from OPimAccessBackend for todo, calendar-event and conatact are available to |
8 | Todo, Event and Address inherit from OPimAccessBackend to create | 8 | define the backend Type with additional functionality and some implementations for special queries. |
9 | their Backend Type with additional functionality and also some | ||
10 | default implementation for some queries. | ||
11 | 9 | ||
12 | \subsection{Read Ahead} | 10 | \subsection{Caching} |
13 | You may implement Read Ahead or Read Behind by implementing | 11 | You may implement caching by implementing a specific find function. It is filling the cache |
14 | the specific find function. First you need to give the Frontend | 12 | (located in the frontend) as read-ahed or read-behing, by giving a read direction. |
13 | \comment{ Das versteht an dieser Stelle keiner: First you need to give the Frontend | ||
15 | a hint on how many items you want to cache and then you can call | 14 | a hint on how many items you want to cache and then you can call |
16 | cache to cache items. | 15 | cache to cache items. |
17 | read Ahead returns the number of Records to read behind/ahead. | 16 | read-ahead returns the number of records to read behind/ahead.} |
17 | Caching is used automatically, if this function is implemented. | ||