Skip to content

Basic concepts # kitCommands

hertsch edited this page Jul 29, 2013 · 2 revisions

The kitCommands connect your application or extension with the parent CMS and bring the output exactly to the place the users of your software want it.

How does it work?

The kitFramework hook itself into the output filter of the Content Management System and listen for kitCommands. If it detect a kitCommand, it will pass the command and all parameters to the control of your extension or application and return the generated output.

The kitCommand is directly written by the user of your extension into a WYSIWYG section:

~~ sample say[Hello world!] ~~

will execute the route:

'/command/sample'

and POST all parameters, in this case the parameter say with the value 'Hello world!'.

The kitFramework will provide you also with additional information, for example if the visitor is authenticated.

Your extension can return a HTML sequence like <p><em>Hello World!</em></p> or a complete encapsulated HTML page which will be returned by the kitFramework in a specialized inline Frame.

Step into the kitCommand documentation to get more detailed information.

Clone this wiki locally