This post refers to DotKernel 1, based on Zend Framework 1.
If you are looking for DotKernel 3 related posts, go here.

DotKernel dots structure
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 submodule for the admin module.

Dots components:
– PHP files following the MVC pattern
– template files – View from MVC pattern (HTML)
– javascript file – View from MVC pattern
– configuration file – configuration values that were previously hard-coded in php
Note that one configuration dots can belong to multiple modules. (e.g. configs/dots/user.xml belongs to frontend and admin module).

In the image on the left are displayed the component files of the user dots:
    – Model – DotKernel/admin/User.php,
    – View – DotKernel/admin/views/UserView.php
    – Controller – controllers/admin/UserController.php
    – template – HTML content: templates/admin/user/*.tpl
    – javascript – templates/js/frontend/user.js
    – configuration – configs/dots/user.xml

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=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.