[geeklog-devel] Plugins and GL 1.5 online config manager
joe at ThrowingDice.com
Fri Jan 4 00:41:04 EST 2008
At 12:33 AM 1/4/2008, Aaron Blankstein wrote:
>I'm not sure the
>config class should be written as a singleton. There should be a core
>config object and each plugin should create its own. That way when
>you go the staticpages admin page, one of the top menu items would
>The situation you describe does not require an object for each
>class. The class being a singleton prevents
>over querying the database which I think is a beneficial quality.
I don't think 1 additional query per plugin is overquerying the
database. An object for each plugin would allow plugins with odd data
requirements to properly validate their configuration data. That is
far more valuable than saving a small number of db queries.
>Special handlers would work if the class was a real class and each
>plugin could subclass it for maximum effect.
>PHP4 and PHP5 simultaneous compatibility makes using subclasses
>extremely difficult here.
At this rate, PHP4 support seems like an unnecessary complication.
When will 1.5 be ready for release?
Seen on the php.net website:
>PHP 4.4.8 Released
>The PHP development team would like to announce the immediate
><http://us3.php.net/downloads.php#v4>availability of PHP 4.4.8. It
>continues to improve the security and the stability of the 4.4
>branch and all users are strongly encouraged to upgrade to it as
>soon as possible. This release wraps up all the outstanding patches
>for the PHP 4.4 series, and is therefore the last normal PHP 4.4
>release. If necessary, releases to address security issues could be
>made until 2008-08-08.
Throwing Dice Games
More information about the geeklog-devel