From a0167916d0fbe035647e836793d014cc0a066f77 Mon Sep 17 00:00:00 2001 From: rylon Date: Wed, 20 Nov 2013 05:05:28 +0100 Subject: [PATCH] system docu --- docu/system/1.system.md | 4 +- docu/system/3.getting started.md | 109 +++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+), 1 deletion(-) diff --git a/docu/system/1.system.md b/docu/system/1.system.md index 0002ca8..0ed15d5 100644 --- a/docu/system/1.system.md +++ b/docu/system/1.system.md @@ -1,3 +1,5 @@ system ====== -System - PHP Framework \ No newline at end of file +System - PHP Framework + +Licensed under MIT \ No newline at end of file diff --git a/docu/system/3.getting started.md b/docu/system/3.getting started.md index e69de29..5a1b331 100644 --- a/docu/system/3.getting started.md +++ b/docu/system/3.getting started.md @@ -0,0 +1,109 @@ +##Getting started + +SYSTEM is a PHP Lightweight Framework. + +You can obtain a copy from https://github.com/gebhardtdasense/system/ + +SYSTEM provides several management techiques and general purpose funcionality +for a PHP Environment. All features of system are optional for using, altho +might be dependent on other features or standarts SYSTEM provides. + +Following funcionality is provided by SYSTEM: + + * api - php post/get input validation and handling + * cache - cache using the database as storage for images/other data + * config - configuration of a SYSTEM environment, can be extended for + project purposes + * db - database connection, query and prepare functionality, + supporting MYSQL and POSTGRESQL + * docu - register documentation right were it is - show it in the backend + * log - exceptionhandling - including dbwrite options + * page - html page generation scheme + * sai - Admininterface + * security - Userlogin, register, rights, (email), session management + * system - autoload, database texts, path generation, systemconfig, time + +##Setup + +Create a new git repository, initialize a submodule for system, check it out, +create a folder named like your project, it will contain all project files, +create a api.php, index.php, sai.php and config.php file. +Dependent on what part of SYSTEM you want to use leave out api or index. + +* D: system +* D: project +* F: api.php +* F: index.php +* F: sai.php +* F: config.php + +File api.php - console of your webpage (jquery...): + + html(); + +File sai.php - Admin Interface: + + html(); + +File config.php - Your Server and Project config + + mojotrollz, © WebCraft Media 2013'), + array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_LANGS, array('deDE', 'enUS')), + array(\SYSTEM\CONFIG\config_ids::SYS_CONFIG_DEFAULT_LANG, 'enUS')); +