Archive for February, 2007

Monitoring Disk Usage

Saturday, February 24th, 2007

I've just been working on two little prototype admin plugins for KnowledgeTree Administrators. The first one is something to monitor disk space, and the other is to assist in cleaning up temporary files. Running out of disk space can cause many serious headaches. Although system administrators should be doing regular maintenance and ...

Running KnowledgeTree on PHP 5.2.x

Thursday, February 22nd, 2007

I found that KnowledgeTree works out of the box on PHP 5.2.0 and 5.2.1 on Windows XP. I tried to use it on 5.1.6 a few weeks back and all I had was continuous headache with require_once() not working properly and classes being redeclared. So what does this mean? Well, we ...

Bulk importing files and metadata

Thursday, February 22nd, 2007

I've added a script to the KnowledgeTree Forge to assist users in importing files and meta data from other systems. It relies on meta data files based on a .ini configuration file format: [invoice] invoice_date="2006-01-01" invoice_no="001002214" [client] client_name="joe bloggs" invoice and client are the names of field sets, and invoice_date, invoice_no and client_name are fields linked ...

Maintaining Database Referential Integrity

Saturday, February 10th, 2007

Never underestimate the value of time spent on database design. Unfortunately, sometimes people know the concepts as they are mostly logical, however the concepts are not always applied. Relational databases have some wonderful features that are not always utilised to the maximum. What might these be? The fundamental concepts behind ...