#native_company# #native_desc#
#native_cta#

PEAR Primer

By Joe Stump
on December 26, 2002

Introduction

PEAR stands for “PHP Extension and Application Repository”
and has been slowly building itself over the last few years. There are classes for logging, compression,
XML, and on and on. The most popular one is the database abstraction class, which supports most popular databases.
In this article I’m going to lay out how you can go about using this great library in your own classes.
Specifically, we will be covering PEAR, PEAR_Error, DB, and Log.
One thing to note here is that if you don’t know what OOP stands for or you have yet to dive into PHP OOP
programming this will most likely go over your head. Starting with an OOP primer would be a good idea.

1
|
2
|
3
|
4
|
5
|
6
|
7