All entries of my technical and business blog

Setting Config Variables - Constants vs. Abstract Class Access

Jun 12, 2007 php

As I was looking through some old code from Big Boy, I noticed a block of his code at the top of his initial control file and noticed a way he was using his configuration. He was defining his from an INI file and setting constants in the code with a prefix identifier. I then took a minute to look at my most recent framework to see how I was using my config - a static class instance with an internally held singleton pattern. It got me starting to think of which was best… I have a new open source project coming up and I’d like to do the right thing.

Network Site JEMDiary.com updated

Mar 1, 2007 news
On February 28, 2007, JEMDiary 3.0 was released. Since 2001, JEMDiary has been growing, adding new features and hosting more diaries. To take advantage of the newest technologies as well as give JEMDiary a needed face-lift, 3.0 was launched. Don’t worry - if you had a JEMDiary account before the upgrade, your account is still active and all your entries still remain. Check it out and look at the new features.