All articles, tagged with “php”

Howto: KISS Signal/Slot pattern in PHP

This article describes the Signal/Slot design pattern and presents a simple implementation.

 continue reading

Howto: KISS class autoloading in php

To autoload a class, __autoload() must find a path to the script defining a class name. This article describes the two well know ways in the introduction and then present a simple alternative.

 continue reading

Howto: KISS secure virtual hosts (nginx, fastcgi, php, gentoo/bash)

This article introduces Fastcgi and describes how to make a KISS shared server with nginx and openrc and common unix commands.

 continue reading

Optimizing LAMP 101, step through tutorial guide

LAMP definition by wikipedia:

LAMP is an acronym for a solution stack of open source software: Linux, Apache, MySQL and PHP, principal components to build a general purpose web server.

This article describes basics of benchmarking and configuration optimisation for fairly recent hardware. Most tips fall in the “common sense” category of senior sysadmins.

 continue reading