RE: [PEAR-DEV] Re: [PEPr] +1 for System::Daemon

From: Date: Sun, 11 May 2008 14:38:51 +0000
Subject: RE: [PEAR-DEV] Re: [PEPr] +1 for System::Daemon
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-50084@lists.php.net to get a copy of this message
> In it's current form, System_Daemon still works if you don't have PEAR > available on a server. > > The default is just to use PEAR, but it runs in standalone mode when > you specifically tell it to start($usePEAR = false); > > This gives you the freedom to expiriment or include System_Daemon in > existing projects without having to install/upgrade PEAR and maybe > worry about affecting other projects/sites on a server. > > Of course using stand-alone mode denies all of PEAR's advantages > (exceptions, updates, log package, etc), but currently that's entirely > up to the end-user/developer. There are some projects that have this > package as an SVN:external, and require nothing else to run except for > Linux & PHP-CLI > 5.2.1 > > If it is a deal breaker I can always remove all the conditional > PEAR-independent-code & make it PEAR-only, but I personally would like > to maintain this duality. Let me know. > Just a sidenote: perhaps it is an idea to create a location within our SVN server that allows projects to have a minimal local PEAR installation as an svn:external and promote this concept actively? By creating a section in the manual with the title "How to integrate PEAR in your application" for instance. Jorrit

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