PHP Classes


Recommend this page to a friend!
  Classes of Barton Phillips  >  PHP Site Class  >  >  Download  
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Site Class
Create database driven Web sites
Author: By
Last change: Added return types and arg types to almost all fuctions.
Updated version to 3.1 and
modified: includes/SiteClass.class.php
Update version. Add ?object $h=null and ?object $b=null and then $h = $h ?? new stdClass also for $b.
modified: includes/SiteClass.class.php
update the to version 3.0.11
Date: 6 months ago
Size: 1,329 bytes


Class file image Download

SiteClass Verion 3.1

SiteClass version 3.1 is a PHP mini framework for simple, small websites. It can be esaly combined with other frameworks or templeting engines if needed. For small websites I feel that frameworks like Laravel or Meteor etc. are just too much.

Updated BLP 2022-02-08 --

This project has several parts that can function standalone or combined.

  • Database.class.php : provides a wrapper for several different database engines.
  • dbTables.class.php : uses the functionality of Database.class.php to make creating tables easy.
  • ErrorClass.class.php : Error and Exception classes
  • SiteClass.class.php : tools for making creating a site a little easier. The class provides methods to help with headers, banners, footers and more.

The following database engines are provided:

  1. dbMysqli.class.php : (rigorously tested) This is the latest PHP version of the MySql database engine.
  2. dbSqlite.class.php : sqlite3 (used for the examples)

There are a couple of additional databases but they have not been rigouously tested.

SiteClass Documentation

SiteClass Documentation

Contact Me

Barton Phillips : My Website Copyright © 2022 Barton Phillips

For more information send a message to info at phpclasses dot org.