Re: [PEPr] +1 for System::Daemon

From: Date: Mon, 12 May 2008 15:31:56 +0000
Subject: Re: [PEPr] +1 for System::Daemon
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50100@lists.php.net to get a copy of this message
Thanks for your vote Philippe, On Mon, May 12, 2008 at 5:12 PM, Philippe Jausions <pear@11abacus.com> wrote: > I'm not a big fan of all-abstract packages. Did you find it necessary to > make it this way otherwise it wouldn't work, or would be too huge of a > burden on the end user to instantiate instead? > > Anyway, not a deal-breaker, but curious to know still. Today I've finished implementing Michael Gauthier's notes, meaning the class is not abstract anymore and now has a private constructor to avoid instantiation. It also has class constants now. Most recent version: http://trac.plutonia.nl/projects/system_daemon/browser/trunk/System/Daemon.php It's still static though. Because in my eyes, instantiating the daemon class could potentially lead to problems since it has such a big impact on the calling process (it kills it ;). If people are interested, my other major changes since submitting are listed here: http://trac.plutonia.nl/projects/system_daemon/report/6 -- Kind regards, Kevin van Zonneveld Work | http://www.true.nl/ About | http://kevin.vanzonneveld.net/

« previous php.pear.dev (#50100) next »