Freedoms

Simply and Powerful PHP Class

Download v.0.0.1

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
	
Controller Installation
<?php

	/* 
	 *	Freedoms version 0.0.1
	 */
	 
	namespace Freedoms
	{
		class Index
		{
			var $function = array("greets");
			
			public function __construct()
			{	
				AutoLoad :: load('engines\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');
	}
	
Content
<b><i><?php index :: greets(base64_decode('SGVsbG8gV29ybGQ=')); ?></i></b>
Hello World
Page generated in 0 ms