REFACTORING: new autoloading functionallity, the modules are now structured for a better overview and module and visibility. Now the modules can also be used for bigger systems, but still are light weight.

This commit is contained in:
Stephan Kasdorf
2019-11-09 18:08:35 +01:00
parent 7e79b83767
commit 417c6c9013
7 changed files with 38 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
<?php
namespace Nibiru\Adapter;
namespace Nibiru\Module\Users\Interfaces;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user interface for your

View File

@@ -1,5 +1,5 @@
<?php
namespace Nibiru\Messages;
namespace Nibiru\Module\Users\Traits;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user trait for your

View File

@@ -1,5 +1,5 @@
<?php
namespace Nibiru\Module;
namespace Nibiru\Module\Users;
/**
* @desc this file is for the autoloader to function properly,
* you might as well use it as the primary user class for your
@@ -9,10 +9,10 @@ namespace Nibiru\Module;
* Date: 28.08.18
* Time: 11:22
*/
use Nibiru\Adapter;
use Nibiru\Messages;
use Nibiru\Module\Users\Interfaces;
use Nibiru\Module\Users\Traits;
class Users implements Adapter\Users
class Users implements Interfaces\Users
{
use Messages\Users;
use Traits\Users;
}

View File

@@ -26,9 +26,9 @@ register.text = "PATHTOYOURHTMLTEMPLATE"
pageurl = "YOURPAGEURLWITHPROTOCOL"
navigation = "navigation.json"
dbmodel = "/../../application/model/"
module = "/../../application/module/"
interfaces = "/../../application/interfaces/"
trait = "/../../application/trait/"
module = "/../../application/module/[NAME]"
interfaces = "/../../application/module/[NAME]/interfaces/"
traits = "/../../application/module/[NAME]/traits/"
entriesperpage = 4
background.img[] = "public/img/nibiru3.jpg"
smarty.css[] = "public/css/v3/roboto.css"