alexa-tracking

Freedoms PHP Class ( Software Developer )

Main Content

1024
1024
KASKUS
51
244
https://www.kaskus.co.id/thread/58ab0433529a45377f8b456a/freedoms-php-class--software-developer
Cool 
Freedoms PHP Class ( Software Developer )
Freedoms is Simply and Powerful PHP Class

Join Me:

Gitlab: https://gitlab.com/adyoi/freedoms
Github: https://github.com/adyoi/freedoms

Spoiler for Frontend:

Spoiler for Backend:


LIVE DEMO

Frontend : http://freedoms.pe.hu

Code:
user : demo
pass : demo


Backend : http://freedoms.pe.hu/admin

Code:
user : admin
pass : admin


Directory Tree Structure

PHP Code:
Freedoms
        
|
        |-- 
app
        
|   |
        |   |-- 
assets
        
|   |   |
        |   |   |-- 
dist (Backend)
        |   |   |   |
        |   |   |   |-- 
css
        
|   |   |   |-- img
        
|   |   |   |-- js
        
|   |   |   
        |   |   |-- 
main (Frontend)
        |   |   |   |-- 
css
        
|   |   |   |-- fonts
        
|   |   |   |-- images
        
|   |   |   |-- js
        
|   |   |
        |   |   |-- 
plugins
        
|   |       |
        |   |       |-- (
JQuery etc.)
        |   |
        |   |-- 
libs
        
|   |   |
        |   |   |-- (
PHP Library etc.)
        |   |
        |   |-- public (
Controller)
        |   |   |
        |   |   |-- 
admin (Backend View and Menu)
        |   |   |   |
        |   |   |   |-- 
account
        
|   |   |   |-- dashboard
        
|   |   |   |-- user
        
|   |   |
        |   |   |-- 
index (Frontend View)
        |   |   
        |   |-- 
template
        
|
        |-- 
config
        
|-- engine 



System Schema

Code:
Frontend :
Start --> Error Handler --> Autoload --> Route --> Controller --> Template --> View
Backend :
Start --> Error Handler --> Autoload --> Route --> Controller --> Template --> Authorize --> View


Spoiler for Error Handler:


Controller Installation

PHP Code:
<?php

/* 
 *  Freedoms version 0.0.1
 */

namespace Freedoms
{
    class 
Index
    
{
        var 
$function = array("greets");

        public function 
__construct()
        {   
            
AutoLoad :: load('engines[backslash]Render');
        }

        public static function 
index()
        {
            
Render :: page('index',null);
        }

        public static function 
param ($arg)
        {   
            
print_r ($arg);
        }

        public static function 
greets ($msg)
        {
            echo 
$msg;
        }

    }
    if(!
defined('names')) exit('forbidden access');
}



Persembahanku untuk Indonesiaku emoticon-I Love Indonesia (S)
Pertamax emoticon-Metal
×