- Beranda
- Komunitas
- Tech
- Website, Webmaster, Webdeveloper
Freedoms PHP Class ( Software Developer )
TS
adyoi
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
LIVE DEMO
Frontend : http://freedoms.pe.hu
Backend : http://freedoms.pe.hu/admin
Directory Tree Structure
System Schema
Controller Installation
Persembahanku untuk Indonesiaku
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
Diubah oleh adyoi 26-02-2017 08:02
0
1.1K
1
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Urutan
Terbaru
Terlama
Tulis komentar menarik atau mention replykgpt untuk ngobrol seru
Komunitas Pilihan