PHP Classes

Simple Framework: Framework to implement MVC based Web applications

Recommend this page to a friend!
  Info   View files Example   Videos Videos   View files View files (51)   DownloadInstall with Composer Download .zip   Reputation   Support forum (12)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (2 months ago) RSS 2.0 feedStarStarStarStar 67%Total: 1,445 This week: 1All time: 2,706 This week: 560Up
Version License PHP version Categories
slaveframework 1.27GNU General Publi...5.4PHP 5, Libraries, Design Patterns
Description 

Author

This package is a framework to implement MVC based Web applications.

It provides base classes to implement model, views and controller classes, as well a router class that reads routing configuration and maps request URLs to controllers to by dispatched by the application class, and a loader class to load view scripts.

The package also provides general purpose classes for database access with PDO, wrap get and post request values, get and check hashes of files, retrieving application texts for different idioms, set and get permissions of directories, compute salted hashs of passwords, set and get session values, handle file uploads, get the current page URL and redirect to a new page.

Picture of Unay Santisteban
  Performance   Level  
Name: Unay Santisteban is available for providing paid consulting. Contact Unay Santisteban .
Classes: 6 packages by
Country: Spain Spain
Age: 35
All time rank: 74116 in Spain Spain
Week rank: 3 Up1 in Spain Spain Up
Innovation award
Innovation award
Nominee: 3x

Example

<?php
define
('DACCESS',1);
require
'framework.php';

$app = new Application();

$app->route();

$app->dispatch();

$app->render();
?>


Details

Slave Framework ====================== Slave Framework is a very very simple Application Development Framework to develop in PHP. It provides base classes to implement model, views and controller classes, as well a router class that reads routing configuration and maps request URLs to controllers to by dispatched by the application class, and a loader class to load view scripts. The package also provides general purpose classes for database access with PDO, wrap get and post request values, get and check hashes of files, retrieving application texts for different idioms, set and get permissions of directories, compute salted hashs of passwords, set and get session values, handle file uploads, get the current page URL and redirect to a new page.

  Files folder image Files  
File Role Description
Files folder imagecache (1 file)
Files folder imagecontrollers (4 files)
Files folder imagecss (1 file)
Files folder imageincludes (6 files)
Files folder imagejs (1 file)
Files folder imagelanguages (2 files)
Files folder imagelibraries (12 files)
Files folder imagelogs (2 files)
Files folder imagemd5 (1 file)
Files folder imagemodels (1 file)
Files folder imagesystem (9 files)
Files folder imageviews (2 files, 2 directories)
Accessible without login Plain text file .htaccess Data Auxiliary data
Accessible without login Plain text file framework.php Aux. Auxiliary script
Accessible without login Plain text file index.php Example Application script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  cache  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  controllers  
File Role Description
  Plain text file demo.php Class Class source
  Accessible without login HTML file index.html Data Documentation
  Plain text file notfound.php Class Class source
  Plain text file offline.php Class Class source

  Files folder image Files  /  css  
File Role Description
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  includes  
File Role Description
  Accessible without login Plain text file autoload.php Aux. Auxiliary script
  Plain text file config.php Class Class source
  Plain text file dbconfig.php Class Class source
  Accessible without login Plain text file defines.php Conf. Auxiliary script
  Accessible without login HTML file index.html Data Documentation
  Accessible without login Plain text file routes.php Conf. Auxiliary script

  Files folder image Files  /  js  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  languages  
File Role Description
  Accessible without login Plain text file en_US.php Aux. Auxiliary script
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  libraries  
File Role Description
  Plain text file Database.php Class Class source
  Accessible without login HTML file index.html Data Documentation
  Plain text file Input.php Class Class source
  Plain text file Integrity.php Class Class source
  Plain text file Language.php Class Class source
  Plain text file Pagination.php Class Simple pagination class
  Plain text file Permission.php Class Class source
  Plain text file Rssreader.php Class Class source
  Plain text file Security.php Class Class source
  Plain text file Session.php Class Class source
  Plain text file Upload.php Class Class source
  Plain text file Url.php Class Class source

  Files folder image Files  /  logs  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login Plain text file system.log Data Auxiliary data

  Files folder image Files  /  md5  
File Role Description
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  models  
File Role Description
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  system  
File Role Description
  Plain text file Application.php Class Class source
  Plain text file Benchmark.php Class Class source
  Plain text file Cache.php Class Class source
  Plain text file Controller.php Class Class source
  Accessible without login HTML file index.html Doc. Documentation
  Plain text file Load.php Class Class source
  Plain text file Logger.php Class Class source
  Plain text file Model.php Class Class source
  Plain text file Router.php Class Class source

  Files folder image Files  /  views  
File Role Description
Files folder imageerrors (2 files)
Files folder imagesystem (2 files)
  Accessible without login Plain text file demo.php Example Example script
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  views  /  errors  
File Role Description
  Accessible without login Plain text file 404.php Aux. Auxiliary script
  Accessible without login HTML file index.html Data Documentation

  Files folder image Files  /  views  /  system  
File Role Description
  Accessible without login HTML file index.html Data Documentation
  Accessible without login Plain text file offline.php Aux. Auxiliary script

Downloadslaveframework-2024-01-09.zip 41KB
Downloadslaveframework-2024-01-09.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Simple Uploader Download .zip .tar.gz This class allows to upload files in the aplication Optional
Language Replace Download .zip .tar.gz This class is used to manage translations Optional
PHP File Integrity Check Download .zip .tar.gz This class allow to create auto integrity checkers Optional
PHP File Permissions Download .zip .tar.gz With this class yo can manage the permissions of the application files Optional
Database PDO Abstract Layer Download .zip .tar.gz The Simple Framework uses this class as the abstract layer to access to database Required
 Version Control Unique User Downloads Download Rankings  
 100%
Total:1,445
This week:1
All time:2,706
This week:560Up
User Ratings User Comments (3)
 All time
Utility:87%StarStarStarStarStar
Consistency:84%StarStarStarStarStar
Documentation:75%StarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:461
 
its great !
9 years ago (ramesh)
80%StarStarStarStarStar
Great job.
9 years ago (Hassan Ijtihadi)
70%StarStarStarStar
Excelent !
9 years ago (Manuel Jimenez)
77%StarStarStarStar