Djokka Framework
Djokka Framework is PHP Framework using HMVC (Hierarchical Model-View-Controller) architecture and build-in IDE (since v1.0.3). Djokka Framework is has very simple HMVC structure., (*1)
## HMVC Structure
โโโ modules
โ โโโ blog (Module)
โ โ โโโ Blog.php (Controller)
โ โ โโโ views
โ โ โ โโโ index.php
โ โ โ โโโ form.php
โ โ โโโ models (Local model)
โ โ โ โโโ SigninForm.php
โ โ โโโ modules
โ โ โโโ comment (Sub-module)
โ โ โ โโโ Comment.php (Controller)
โ โ โ โโโ views
โ โ โ โโโ read.php
โ โ โโโ category (Sub-module)
โ โ โโโ Category.php (Controller)
โ โ โโโ views
โ โ โโโ read.php
โ โโโ member (Module)
โ โโโ Member.php (Controller)
โ โโโ views
โ โ โโโ index.php
โ โ โโโ form.php
โ โโโ models (Local model)
โ โโโ SignupForm.php
โโโ models (Global model)
โโโ Blog.php
โโโ Comment.php
โโโ Category.php
This is an example hierarchical module. There is 2 module in root, blog and member. A module is has controller and can has views and models.
If you don't like to place your model inside module, you can place it to 'models' as global model. Every module can access the global model., (*2)
Look into module 'blog', you'll see the sub-module with name 'comment' and 'category'. Yeah, that's the HMVC means. The module must not be has view or model,
but must be has a controller. The controller of module is same with the module name with capitalized format., (*3)
========, (*4)
Djokka Framework is started develop at February 17th 2013, (*5)
By Ahmad Jawahir rawndummy@gmail.com" title="See online rawndummy@gmail.com">rawndummy@gmail.com, (*6)