Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/redsign77/rsfw
- Owner: RedSign77
- License: gpl-3.0
- Created: 2015-05-28T20:06:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-27T13:26:45.000Z (over 8 years ago)
- Last Synced: 2024-11-07T18:25:01.684Z (3 months ago)
- Topics: framework, mvc, php
- Language: PHP
- Size: 52.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RS Framework 2
#### Framework version: 0.6
#### PHP Version: 5.6Programable 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();
```