|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2023-01-18 (7 days ago) || 74%||Total: 793 This week: 6||All time: 4,293 This week: 28|
This package can be used to create database driven Web sites.
It can load a configuration file that defines several details of the pages of the site like the type of database to use, site domain, copyright, paths of different types of files, etc..
The main class can perform several types of general purpose functions that many sites need like cookie management, keep track of the site visitors, generate page headers and footers, error and exception handling, etc..
For database access it supports MySQLi.
SiteClass Verion 3.4.2, Database Version 2.0.0, dbMysqli Version 2.0.0
SiteClass version 3.4.2 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-09-26 - Moved other pages (like aboutwebsite.php etc) from bartonphillips.net to bartonlp.com/otherpages/.
Removed the symlinks from bartonphillips.net (see BLP 2022-08-14). Instead I have added RewriteRules to .htaccess to goto https://bartonlp/otherpages
Updated BLP 2022-08-14 - Change had coded references to <del>bartonphillips.net</del> <ins>bartonlp.com/otherpages</ins> to $h, $b, $this (from mysitemap.json)
Also moved tracker.php, tracker.js and beacon.php to the SiteClass includes/ directory. They are now symlinked to <del>https://bartonphillips.net.</del>
Updated BLP 2022-07-31 - Moved functins from SiteClass to Database. Added versions to all classes
Updated BLP 2022-04-30 - Work on daycounts, tracker and checkIfBot. I may remove some error_log() messages later.
Updated BLP 2022-04-24 - added defines.php with the tracker, bots and beacon constants.
This project has several parts that can function standalone or combined.
Database.class.php (version 2.0.0): provides a wrapper to the PHP mysqli engine.
dbTables.class.php (version 1.0.0): uses the functionality of Database.class.php to make creating tables easy.
ErrorClass.class.php (version 2.0.0): Error and Exception classes
SqlException.class.php (version 2.0.0): Sql exception class.
SiteClass.class.php (version 3.4.2): tools for making creating a site a little easier. The class provides methods to help with headers, banners, footers and more.
defines.php : constants for tracker(), tracker.php, beacon.php, robots.php, sitemap.php and checktracker2.php. This has all of the constants
like TRACKER_BOT, BOTS_ROBOTS etc.
The following database engines are provided:
dbMysqli.class.php : (rigorously tested) This is the latest PHP version of the MySql database engine.
Update BLP 2022-07-31 - dbSqlite.class.php : sqlite3 No longer supported
Barton Phillips : email@example.com
Copyright © 2022 Barton Phillips
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.