Re: PEAR Example code
| From: | chagenbu at wso dot williams dot edu | Date: | Mon, 10 Apr 2000 14:32:46 +0000 |
| Subject: | Re: PEAR Example code | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-72@lists.php.net to get a copy of this message | ||
Quoting Alm Erik <erik.alm@icl.se>:
> I was wondering if there are some examples of how a PEAR package would look?
There are a couple of PEAR packages in php4 cvs - the db abstraction stuff (did
anyone even _see_ my question about DB::factory() ?), and a few others right
now.
Also, Horde libraries are going to follow PEAR standards - the only completely
converted file right now is here:
http://cvsweb.horde.org/index.php/~checkout~/imp/lib/folder.php?rev=1.4&cvsroot=/cvs/horde
(careful with linewrap)
> Second question, is this system only made to work with PHP4 or is it
> supposed to be independent of version?
PEAR is designed for php4. Doing that a). allows us to use a number of OO
features not available in php3, and b). creates another push for people to
upgrade to php4.
-chuck