CodKep introduction
What is CodKep
CodKep is a lightweight web framework written in PHP. It has a modular design and use hook system for easy extend the core functions. Working of core function was heavy inspired by the Drupal CMS (version 7). It tries to be as robust as Drupal when coding without the bloatness of GUI. Although the using of the Api is sometimes similar to Drupal the CodKep does not contains or use any codes from Drupal, it's built on own codebase. (Written from scratch)
CodKep is designed to build very database active sites where the design is not the primary goal, but the other side lots of database functions forms and queries are used. To achieve this the CodKep have rich set of form generation tools.
Design directives of CodKep
- Try to be simple and fast.
- Be portable. Easy moving from one server to another, from development site to live, etc.
- Modular build. The modules can extend or change the site behavior by "hooks".
- The site builder can do their modifications by own modules.
- Many of the main modules are detachable. (Even the SQL!)
- Does not store anything site structure info and site settings in SQL.
- Test, live and development site settings/configurations can easily maintained by GIT or other version control system, because all webmaster settings are stored in files.
- The database is only used for site contents or user settings.
- Sql schema info are also stored in files. The framework can check the current database schema and fix the changes.
- Be secure. All parameters which came from the user side are strictly checked by the framework
- Rapid automatized building of forms and queries of various element types.
- Rich set of debugging tools
- Try to use minimal set of third party apps/libs to minimize dependencies
- Easy upgrade by design. The framework and the site data are stored separated places.
- Working in cluster environment
The main chapters of this document
- Installing CodKep
- Directories/Site configuration
- Modules
- Hook system
- Locations/Routes/Urls
- Parameters/Security checks
- Style and javascript and headers modifications
- Menus
- Themes
- Ajax framework
- Sql module
- User module
- Html table and Form generation framework
- Autoformatted sql queries
- Excel xml document generator
- Nodes
- Files (Upload/Store/Read/Delete)
- Pages editable with CKeditor
- Debugging/coding helpers
Author, License
The CodKep is written by Péter Deák (hyper80@gmail.com) under GPLv2 license.