From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Developer(s)Kajona Community
Stable release
6.2 / June 8, 2017; 2 years ago (2017-06-08)[1]
RepositoryKajona Repository
Written inPHP, PHP5, JavaScript, HTML, CSS, SQL, LESS
Operating systemCross-platform
TypeContent management system
LicenseGNU Lesser General Public License

Kajona is a PHP based content management framework, released and developed as an open source project using the LGPL-licence. The system requires a relational database system such as MySQL, PostgreSQL or SQLite. Due to the abstraction of the database provided by Kajonas database-layer, nearly all relational database systems can be connected. Kajona uses UTF-8 to store its content, resulting in a system suitable for international websites. Since the system is written as a framework, external developers are able to enrich the system with new functionalities using one of the many hooks / plugin concepts Kajona provides. There are HotSpots for nearly every aspect such as for widgets, search plugins, elements or modules.


Kajona ships with a set of modules and page-elements by default, including a comprehensive page-management (including a WYSIWYG editor for in-site-editing), navigation management, a search-module and image-elements including the support of on-the-fly image manipulations such as resizing or cropping images. Due to the extensibility, additional modules and elements may be added or removed from existing installations. A complete list of modules may be obtained from the projects website.[2] Besides English and German, the backend is also available in Russian, Portuguese, Swedish and Bulgarian. A review of the functions and the system was also published on the (German) content manager portal contentmanager.de.[3]


The system itself is separated into two main areas: The administration backend and the portal. While the backend is used to maintain the website, the portal is used to show the contents to the websites' visitors. Compared to other CMS, Kajona is based on a page-centric approach. This means that content is placed on a page directly instead of using a complex article management linking the articles to a single page.

Editing content is possible either via the backend or via the portal-editor.


The portal-editor is shown to users with edit-permissions when browsing the website (the portal). The editor is integrated into two separate ways: In-page-editing: Accessible via a link when hovering an editable element: The portal-editor is shown as an overlay, on top of the portal-page. The editor allows to change, edit and delete the element using the functionality of the backend while still being shown in the portal. In-site-editing: Accessible directly on the page. The user is able to click into the element (e.g. a paragraph) and start to change the content right in the final layout. Markup-toolbars appear as soon as the edit-process starts. The changes are saved on the fly, so the user may focus on changing the contents completely.


Kajona is separated in several layers, providing a separation of concerns. The database-layer can be used with nearly every relational database-system. By default, the system ships with drivers for MySQL, MariaDB (mysql, mysqli), PostgreSQL, Oracle and SQLite (as on 01/13).

The business-logic layer consists of a number of business objects, each representing a single entity within the system, e.g. a page or an image. The layer provides the logic to handle those objects including CRUD-operations (create, read, update, delete). The system handles the lifecycle of each object including the logic to update or insert new object and synchronizing the objects with the database-layer.

Since the presentation-layer only makes use of the business objects, there is absolutely no database-knowledge required when working with the presentation. In addition, the presentation-layer contains the controller, triggering all further actions within the framework.

Kajona uses a template engine in order to render the layout. The engine provides a way to separate layout from content and differentiates between page- and template-elements. This results in a flexible way to create layouts and provides a way to reuse templates. The templates are enriched with placeholders, later being filled with the contents provided by the business objects. Since all generated content is cached, the system delivers the pages out of the cache after the initial generation. Templates can be used for the frontend and the (administrative) backend.

Permissions are granted using a hierarchical structure, providing the possibility to inherit the settings from a parent-node.

Since Version 4, all modules and templates are distributed as packages. The code-files of different modules are no longer merged into common folders, instead a new filesystem-layout separates each package and provides a virtual filesystem in order to overwrite or redefine files shipped with the packages without having to modify the original files. Therefore, updates can be enrolled without the danger of breaking former modification.

Starting with version 4.3, the framework-aspect is now way more present. Many modules are now fully decoupled. This results in independent backend- and portal-parts, making the backend usable for rapid web application development.[4]


In 2004 Kajona was built in its initial version reflecting a shared list of scripts often used by a few web developers. Those scripts were combined by introducing interfaces in order to provide easier interaction. Resulting in a first script library the idea of a framework was born and released as version 1.0. Version 2 was released in 2005, followed by the version 2.1 in 2006. Since the project was still a rather unstructured list of independent scripts, a complete rewrite was done for version 3, released in January 2007.[5] The codebase was reorganized to be fully object-oriented, providing a strict separation of concerns and a full division of logic and layout.[6] As of now (Jan 2011), Kajona has grown to a comprehensive, flexible and robust framework providing a large number of predefined modules and elements for a wide range of capabilities.[7][8] The framework is used by public institutes such as the University of Kassel, the ETH Zürich and a lot of small and middle-sized companies around Europe and all over the world as in South-Africa.[9] The release 3.3 was also featured on Heise Open [10] and other websites.[11] The project is now working on a new major release, version 4.[12] The development-progress may be followed in a blog created for the v4-development.[13] Since v4 will introduce fundamental changes such as a new filesystem-layout,[14] the release is not yet scheduled. In addition, the feature-development of the v3-branch was stopped, only security-fixes will be deployed and released.


There are a few forks of Kajona such as Sycon being developed non-public. In addition, the linux distribution Kajonix[15] provides a live-cd containing the latest Kajona release.

External links[edit]


  1. ^ "Releases". github.com. Retrieved 10 June 2017.
  2. ^ http://www.kajona.de/features.xml_utf8_cms...en.html
  3. ^ http://www.contentmanager.de/magazin/artikel_2243_kajona_systemvorstellung.html
  4. ^ http://www.kajona.de/en/News/newsdetails.Kajona-as-an-application-framework.newsDetail.0ea31a1526a21f07479d.html
  5. ^ http://www.kajona.de/newsdetails.Kajona-V3-released.newsDetail.d31d98045a039b9a232c.de.html
  6. ^ "Archived copy". Archived from the original on 2010-10-11. Retrieved 2011-01-23.CS1 maint: archived copy as title (link)
  7. ^ http://www.cmsmatrix.org/matrix/cms-matrix/kajona-content-management-framework
  8. ^ http://www.kajona.de/features.xml_utf8_cms...en.html
  9. ^ http://www.kajona.de/referenzen.projects...en.html
  10. ^ https://web.archive.org/web/20131208034944/http://www.h-online.com/open/news/item/Version-3-3-of-the-Kajona-CMS-released-983923.html
  11. ^ http://www.developer.com/daily_news/article.php/398864/Open-Source-Content-Management-System-Kajona-Version-33-Is-Available.htm
  12. ^ http://www.kajona.de/newsdetails.Start-of-the-V4-development.newsDetail.c613cb34ec197abbd45b.en.html
  13. ^ "Archived copy". Archived from the original on 2012-01-24. Retrieved 2012-03-10.CS1 maint: archived copy as title (link)
  14. ^ http://www.kajona.de/newsdetails.The-new-filesystem-layout.newsDetail.d5601834ee76b5b2409b.en.html
  15. ^ http://www.stefanbongartz.de/kajonix/index_en.php