gc on May 14th, 2009

Hi all,
so much time since my last post! I’ve been involved into so many interesting projects that I could’t even login.
In the meantime a brand new side project idea is born.. All stats looking at the bleeding edge of the CMS/CMR/Framework panorama that I’ve encountered in the last month. None of them is really well [...]

Continue reading about ready… set… go!

gc on November 18th, 2008

here we go, a simple, very basic class to manage DB connections; I know there are so many around BUT

it’s very lightweight because it:
makes use of the “singleton” pattern, so you can start make a mess with patterns [if you've never do so]
ther’s soo much room for improvement
since I use it on an almost everyday [...]

Continue reading about class.dbmanager.php

gc on November 13th, 2008

don’t know if you already use this
function __autoload($class){
    # autoloading of a class #
    if (file_exists(”classes/class.”.$class.”.php”))
    include_once(”classes/class.”.$class.”.php”);
    else print “Failed to auto-load classes/class.{$class}.php”;
    }

it’s a little snippet of PHP code who take care of autoloading a class when you try to use it and the relevant definition file hasn’t still been loaded.
As you can see, if you use a bit [...]

Continue reading about __autoload