PHP Classes

RS framework: Web application development framework

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 149 All time: 9,101 This week: 673Up
Version License PHP version Categories
rsfw 1.0.2GNU General Publi...5PHP 5, Libraries
Description 

Author

This package is a Web application development framework.

It provides a set of general purpose classes for developing Web applications. Currently it includes:

- Database access using MySQLi
- Caching content in session variables
- Event observer
- Request handler
- Routing requests
- Processing view templates

Picture of Nemeth Zoltan
  Performance   Level  
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

 

Example

<?php
if (!isset($_SESSION['core']) || $_SESSION['core'] != 1) {
    die(
"Core not loaded!");
}
$request = Request::getInstance();
$cache = SessionCache::getInstance();
$router = Router::getInstance();
$router->process($request);
echo
$router;
/**
 * 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();


Details

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();

  Files folder image Files (36)  
File Role Description
Files folder imagefiles (1 directory)
Files folder imagelibs (9 files, 1 directory)
Files folder imageprocess (1 file)
Files folder imagesys (3 files, 1 directory)
Files folder imagetheme (1 directory)
Files folder imagevendor (1 directory)
Accessible without login Plain text file .gitignore Data Auxiliary data
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file index.php Aux. Auxiliary script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file robots.txt Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:149
This week:0
All time:9,101
This week:673Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:191