After a couple of hours of work, JBlogs is finally written in an object-oriented manner. To use JBlogs is far easier than before thanks to this.
Getting started requires a simple few edits to data.php file and then putting this code on your website:
PHP
$jblogs = new jblogs(); $meta_data = $jblogs->getMetaData(); $jblogs->generatePosts();
Since I first learned to program in early 2005 I have always been an object-oriented programmer. PHP became an exception in 2012 to this rule but I have since begun to move some of my own work to an object-oriented PHP. This change does mean you must be using PHP 5 or later by the way!
Posted in BalfBlog

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days.
Comments powered by BalfComment