< Development | Architecture/KDE4Revision as of 19:21, 25 January 2009 by Krake (talk | contribs) (Adding overview of Akonadi concepts)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Contents 1 Development/Architecture/KDE4/Akonadi 2 Concepts 2.1 Akonadi Server 2.2 Akonadi Agents 2.3 Akonadi Applications 3 Further reading Development/Architecture/KDE4/Akonadi Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文 Akonadi Communication, calendaring and keeping information about others are fundamental parts of your daily work and private life. As a provider of an application development framework and of a Free Software desktop runtime environment, KDE addresses this by tightly integrating with the PIM infrastructure provided by Akonadi. KDE's implementation of an Akonadi client library stack makes it easy to develop both applications using Akonadi as their data source as well as Akonadi agents for the actual access to the data's persistant storage. Concepts Akonadi's design follows the principle of separation of concerns, meaning that each component has a small, well defined role to fullfil in order to achieve a fully functional setup. There are three main categories of components, all of which are implemented as individual processes for increased system stability and implementation independence: Akonadi Server Akonadi Agents Akonadi Applications Akonadi Server The server category consists of two roles: control and cache. Control is implemented by a process called akonadi_control. It is the first to start and controls the life cycle of all components other than end user applications. Cache is implemented by a process called akonadiserver. It is the hub for the data flow, tracks changes and is responsible for system consistency, e.g. ensures unique identifiers, etc. All communication with these two roles is implemented in the KDE client libraries for Akonadi and available to developers at different level of abstraction. Tip Thinking about the server as a proxy-like service helps to avoid misinterpreting its task, e.g. it is caching data on behalf of its clients, not interpreting or permanently storing it. Akonadi Agents The agent category describes processes which perform their task without human interaction. This includes a special role also referred to as Akonadi Resources, agents which transport data between the cache and the data's actual persistant storage locations, e.g. files. The KDE client libraries for Akonadi provide convenience classes to ease development of generic agents as well as the resource subtype. The KDE PIM project provides a set of commonly required implementations as part of their runtime module. Akonadi Applications The application category refers to the usual end user visible application, e.g. address book, calendar or e-mail program. Implementations of this category can sometimes be referred to as Akonadi Clients, since agents can be seen as part of the server-like functionality, both from the point of view of users as well as application developers. The KDE client libraries for Akonadi provide both a low level job based API as well as high level data models, views and standard actions. Further reading Akonadi Tutorials Akonadi KDE API Documentation Akonadi Project Wiki Retrieved from "https://techbase.kde.org/index.php?title=Development/Architecture/KDE4/Akonadi&oldid=37850" Categories: KDE4ArchitectureAkonadi Content is available under Creative Commons License SA 4.0 unless otherwise noted.