Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/redsign77/rsfw

RSFramework 2
https://github.com/redsign77/rsfw

framework mvc php

Last synced: about 1 month ago
JSON representation

RSFramework 2

Awesome Lists containing this project

README

        

# RS Framework 2

#### Framework version: 0.6
#### PHP Version: 5.6

Programable PHP framework for fast, flexible and simple projects.

The framework contains a basic sample with a basic user handling and the neccessary logging features with observer pattern.

```

$request = Request::getInstance();
$cache = SessionCache::getInstance();
$router = Router::getInstance();
$router->process($request);
/**
* RS framework processing functionality
*/
/**
* Generate view for data
*/
$object = $router->getTemplate();
$view = $object::getInstance();
/**
* Run process files
*/
$processes = $router->getProcess();
if (count($processes) > 0) {
foreach ($processes as $process) {
if (is_executable('process/' . $process)) {
include_once 'process/' . $process;
}
}
}
/**
* Make view
*/
$view->show();
```