Jamie Balfour

Welcome to my personal website.

Find out more about me, my personal projects, reviews, courses and much more here.

BalfCommentAn extremely lightweight and efficient database managing tool

BalfComment
BalfComment
Setup difficulty: moderate

BalfComment is a newly written (July 2019) comment system powered by Maria DB/MySQL and PHP. You can see it in action at the bottom of this page.

Being part of my own Web Independently Styled Project it follows the pattern of not implementing styles that would force you to modify it heavily. It allows the website developer to focus on developing the site and just installing a quick PHP script that deals with comments.

I also developed BalfComment in an object-oriented manner using the latest techniques.

Getting started

Getting started couldn't be easier. Head to my Download Center and download the PHP script to get started. Once there add in the settings needed to get it connected.

Embedding the comments code is also very easy too.

PHP
//This script assumes that $databaseConnection and $currentPageURL variables exist
include_once 'balfcomment.php';
//Must be PDO object
$bc = new BalfComment($databaseConnection);
$bc->autoGenerateComments($currentPageURL);
Comments