Installing PEAR on Mac OS X 16
An anonymous reader writes "The PHP Extension and Application Repository (PEAR) is an online repository of high-quality, peer-reviewed PHP classes that conform to a rigorous coding standard. In this MacDevCenter article, Jason Perkins shows you how to install, configure and use the PEAR Package Manager on Mac OS X 10.2."
Word of Caution (Score:5, Informative)
Re:Word of Caution (Score:2, Insightful)
Re:Word of Caution (Score:1)
Amazing (Score:5, Funny)
Re:Amazing (Score:3, Funny)
coding standard (Score:5, Insightful)
how come that since years, everybody talks about coding standard and I can't find the word 'documentation' in these standards?
Just a couple of hours ago I tried out the Spreadsheet_Excel_Writer [php.net] (a port of perl's Spreadsheet::WriteExcel Perl). It does not contain ANY documentation. Yes, some lines are commented and most parameters are described. But you won't find a word telling you how to use it.
It's formatted nice, there are no unchecked parameters, yes, yes. but no docs. bah.
Re:coding standard (Score:5, Informative)
Re:coding standard (Score:3, Informative)
The documentation is contained in those comments. You can extract it automatically into HTML-ized documentation with PHPDoc [sourceforge.net]. It's a bit of a hassle, though, I agree that separate docs are more convenient.
documentation? bah! (Score:2)
two approaches to PHP class development (Score:5, Informative)
What is it good for? (Score:4, Informative)
Just in case you're not familiar with PEAR and what it might be useful for, look at IMP and Horde [horde.org], a cool web-based IMAP interface.
Another word of caution (Score:5, Informative)
If you've installed a recent version of PHP from source, you should use the --enable-cli flag to configure. This will build the Apache module and a command-line version of PHP, obviating the need to download the (out-of-date) CGI they link to.
PHP may automagically do this anyway, so check first. Besides, it's probably best to have your web-server version of PHP the same as your CGI version.