Module

DotKernel module structureModule is the first hierarchical level of a web application. In DotKernel, modules are admin, frontend

As you may have noticed, underlined red folders have the module name. When creating a new module, a new folder with the module name must be created in each of the following folders:

        • configs,
        • controllers,
        • DotKernel,
        • images,
        • templates,
        • templates/css,
        • templates/js.

Each module is composed of multiple dots. We use the term dots when talking about a submodule and all its component files: MVC (*.php), configuration (*.xml), template (*.tpl), javascript (*.js) … For example, “user” is a dots for the frontend module.

The DotKernel structure is a dots hierarchy:

  • dots php files respect MVC pattern
  • each module is composed of multiple dots

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">