Development

 

 

NOTE: WE WORKING AT THE MOMENT ON THIS AREA, SO THIS IS NOT COMPLETE!

For Kryn.cms version 0.9+

 

Kryn.cms is based on the MVC-Architecture - this mainly means, that templates (html generators), controller (extension class) and model are seperated.

 

Model (database):

  • Kryn.cms handle the database table scheme for you. For this you only need to declare your table definitions in your extension. On for example an update it automatically adjust the tables in the database.
  • To access your tables, Kryn.cms provides several global database functions.

Controller (Extension class)

  • Your controller is your extension class, which is a normal php class.
  • To generate output on pages you need to create plugins in your extension. Plugins are public functions in your extension class. You can use the extension editor to define plugins.
  • If you working with custom windows in the administration you have a own admin controller (public function admin()) in your class.

View (templates):

 

As you can see, this is all based on extension - so this means, that you can extend the system in many ways with a extension (also extending other extensions with a extension is possible). Read more about extensions.