Postingan lainnya
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
Frontend: [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219092608.png[/img] [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219092429.png[/img] [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219092447.png[/img] [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219092645.png[/img]
Backend: [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219091708.png[/img] [img]https://s.kaskus.id/images/2017/02/19/7328885_20170219091755.png[/img]
DEMO
Frontend : http://freedoms.pe.hu
user : demo
pass : demo
Backend : http://freedoms.pe.hu/admin
user : admin
pass : admin
Directory Tree Structure
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
Frontend :
Start --> Error Handler --> Autoload --> Route --> Controller --> Template --> View
Backend :
Start --> Error Handler --> Autoload --> Route --> Controller --> Template --> Authorize --> View
Error Handler :
Controller Installation
<?php
/*
* Freedoms version 0.0.1
*/
namespace Freedoms
{
class Index
{
public function __construct()
{
AutoLoad :: load('engines\Render');
}
public static function index()
{
$data["baseurl"] = Routes :: baseurl();
Render :: page('index', $data);
}
public static function param ($arg)
{
print_r ($arg);
}
public static function greets ($msg)
{
print $msg;
}
}
if(!defined('names')) exit('forbidden access');
}
Persembahanku untuk Indonesiaku
2 Jawaban:
Jawaban Terpilih
Mantap gan, adminlte. Pasang di mading ini gan
josss, pasang karya agan di mading -> submit karya :)