This blog is not your daddy

This blog is where it's at

Oh really? Well... It's where my stuff's at. What stuff? Articles on programming, mainly. In Java (good) and PHP (bad). Sometimes aiming for performance, sometimes looking for easy solutions and extendible programming, sometimes despairing to get anything to work. Pretty much always Object Oriented and never all that hardcorde. No bit-shifts here.

So what's the plan?

To start with, Java & PHP are gonna be the two main topics of this site. You can see 'm both listed in the navigation bar to the left. Click on one of these and be transported into the wonderful world that is the whiteboxcomputing.com archive of anteresting articles. Usually it goes something like this:

<?php
/*
 * Mike At Work CMS :: css.php
 *
 * Loads the css of the Mike At Work system, all plug-ins
 *  including the CMS part, the CMS and all CMS modules, before
 *  outputting them as a singe css file
 */
 
define ('ROOT''../');
require_once (
'../system/maw_cms.inc.php');
require_once (
'./login/session_start.inc.php');
if (!
$session->logged_in) exit();
 
ob_start();

echo (
file_get_contents(SYSTEM_PATH.'default.css'));
echo (
file_get_contents(CMS_PATH.'_cms.css'));

// Site plug-ins
if (is_object($plugin_loader)) {
    echo 
$plugin_loader->load_css();
    echo 
$plugin_loader->load_css(true);
}

// CMS plug-ins
if (is_object($cms_plugin_loader)) {
    echo 
$cms_plugin_loader->load_css();
}

// CMS Module
if (is_object($cms_module_loader)) {
    
$cms_module_loader->load_css();
}

header('Content-type: text/css');
ob_end_flush();    

?>

Followed by a short discussion of what's good & bad about it, or (if I know) why I did it that way.

Perhaps I'll even bitch about markup, semantics, or placing responsibilities within a framework.

If you dig that kind of thing, please, stick around