Home arrow MySQL arrow Page 4 - An Introduction to PEAR
MYSQL

An Introduction to PEAR


There have been several add-ons developed for PHP in the last couple of years, but none have reached the popularity of PEAR. PEAR is a framework and distribution for reusable PHP components. In this article John introduces us to PEAR, and more specifically, its PEAR::DB package, which is a set of classes that allows us to create generic code to talk to a variety of databases with minimal code changes.

Author Info:
By: John Ferme
Rating: 4 stars4 stars4 stars4 stars4 stars / 12
March 03, 2002
TABLE OF CONTENTS:
  1. · An Introduction to PEAR
  2. · What is PEAR?
  3. · The PEAR::DB class
  4. · Conclusion

print this article
SEARCH DEVARTICLES

An Introduction to PEAR - Conclusion
(Page 4 of 4 )

As I'm sure you can tell by now, the PEAR::DB package provides us with an enormous amount of functionality, making our job as developers that much easier. All of the methods listed above are optimised, and really do make working with databases so much easier.

If you're planning to develop your site using say a MySQL database for development, and a PostreSQL server for production, then the PEAR::DB package will be invaluable to you: simply configure PHP with PostgreSQL support and change the connection properties of your DSN to work with either MySQL or PostrgreSQL.

For more information on PEAR, feel free to take a look at the books and links shown below.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

blog comments powered by Disqus
MYSQL ARTICLES

- MySQL and BLOBs
- Two Lessons in ASP and MySQL
- Lord Of The Strings Part 2
- Lord Of The Strings Part 1
- Importing Data into MySQL with Navicat
- Building a Sustainable Web Site
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- PhpED 3.2 More Features Than You Can Poke ...
- Creating An Online Photo Album with PHP and ...
- Creating An Online Photo Album with PHP and ...
- Security and Sessions in PHP
- Setup Your Personal Reminder System Using PHP
- Create a IP-Country Database Using PERL and ...
- Developing a Dynamic Document Search in PHP ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials