16 Jul 2007 02:40
Re: PEAR2 standards: anything good at all?
Adam Ashley <aashley <at> adamashley.name>
2007-07-16 00:40:19 GMT
2007-07-16 00:40:19 GMT
On Mon, 16 Jul 2007 01:55:22 +0400, Alexey Borzov <borz_off <at> cs.msu.su> wrote: > Hi, > > After re-reading the "PEAR2 standards", "PEAR2 require" wiki pages and > (most of) discussion on pear-dev, I'm beginning to think that these > so-called standards should be ditched in their entirety. I have to disagree with you. I'll give you your point about unzip-and-go, never made sense to me either but thats it. > Now another "problem" is that PEAR installation is not relocatable. > Since we already covered unzip-and go, let's presume that we are > talking a real installation here. The proposed solution is to have a > data_dir.txt file in the installation root that'll contain the name of > data directory. Nice. > > But if I relocate the installation, will the file automagically contain > the name of the dir I relocated to? No? So, is there a huge difference > between editing this file by hand and doing a mass search-and replace > that's required now? The huge difference is that if you don't understand the serialization format used by PHP when you do that search and replace you will stuff up your pear config. > require_once controversy was already covered a lot here, my opinion is: > * slow require_once in APC is a problem of APC, not PEAR. APC > developers are aware of it and are solving it, so sometime our > optimizations may become counter-productive.(Continue reading)
RSS Feed