Category: LAMP

Optimizing Your MySQL Compilation

System administrators constantly worry about optimization with code compilation. This is no different for MySQL. Most systems are fine with the binaries distributed by their flavor of Linux or directly from Oracle. But there are many who need to maximize their hardware usage by pushing their software. I intend to show how to tweak your MySQL compilation to achieve these results.

Read More ...
 

Using ActiveRecord in Fever Framework

One of the features of the PHP Fever Framework is ActiveRecord access to your database. This is meant to be a database access tool for DB models and contains many of the ActiveRecord functions and more.

Read More ...
 

The Chain-of-Command Pattern: OOP Techniques in PHP

The chain-of-command pattern, like most others, assists with maintaining a loose coupling within your classes. By providing a series of classes that implement the ICommand interface and do a specific bit of processing, the developer doesn’t have to care which method to execute.

Read More ...
 

Sync Your Linux Box to Ensure an Accurate Clock

This is a simple tip to keep your Linux box’s clock up-to-date (quite literally). Using your ntpdate program, set a cron for say 30 minutes to sync your time with a NTP server. 30 * * * * /usr/sbin/ntpdate -s ntp-2.mcs.anl.gov The above server is available to US machines, and requires an email notification for [...]

Read More ...