PHP Classes

Simple PHP OOP CMS: Build Web site pages from template classes

Recommend this page to a friend!
  Info   View files Example   View files View files (16)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 764 All time: 4,418 This week: 191Up
Version License PHP version Categories
simple-cms 0.9The PHP License3.0PHP 5, Libraries, Content management
Description 

Author

This package can build Web site pages from template classes.

It provides a template class that can replace template variables, as well as other constructs like conditional sections, loops, external template file including, etc..

The package also provides a generate purpose MySQL database access class that can be extended by other classes that need to perform database operations.

A members class extends the database class to provide functionality like register, login and logout users.

Users may be banned depending on the IP address of the computer they use to access the site.

Picture of Yerfry Ramirez
  Performance   Level  
Name: Yerfry Ramirez is available for providing paid consulting. Contact Yerfry Ramirez .
Classes: 7 packages by
Country: Sweden Sweden
Age: ???
All time rank: 184018 in Sweden Sweden
Week rank: 312 Up3 in Sweden Sweden Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php
require 'config.php';

if(!
Session::exists('UserData')) header('Location: login.php');

$Template = new Template();
$Member = new User();

$Template->file('home.html')
    ->
assign('test', 3000)
    ->
assign('Title', Configuration::get('Title'))
->
render();
?>


  Files folder image Files  
File Role Description
Files folder imagecore (2 directories)
Files folder imagetemplates (3 files)
Accessible without login Plain text file config.php Conf. Configuration script
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file login.php Example Example script
Accessible without login Plain text file login.sql Data Auxiliary data
Accessible without login Plain text file logout.php Example Example script

  Files folder image Files  /  core  
File Role Description
Files folder imageautoload (1 file)
Files folder imageclasses (7 files)

  Files folder image Files  /  core  /  autoload  
File Role Description
  Accessible without login Plain text file autoload.php Aux. Autoloader

  Files folder image Files  /  core  /  classes  
File Role Description
  Accessible without login Plain text file Configuration.class.php Conf. Configuration script
  Plain text file Database.class.php Class Class source
  Plain text file Functions.class.php Class Class source
  Plain text file Restriction.class.php Class Class source
  Plain text file Session.class.php Class Class source
  Plain text file Template.class.php Class Class source
  Plain text file User.class.php Class Class source

  Files folder image Files  /  templates  
File Role Description
  Accessible without login Plain text file home.html Data Documentation
  Accessible without login Plain text file includeExample.html Data Documentation
  Accessible without login Plain text file login.html Data Documentation

 Version Control Unique User Downloads Download Rankings  
 93%
Total:764
This week:0
All time:4,418
This week:191Up