Jump to content

Recommended Posts

I was wondering about something
PEAR DB is a powerful object oriented language
I read that somewhere it began telling me about it, I was wondering is this a replacement for something else.
Meaning I am planning on using MYSQL as my main database when working for clients, I will want to know how to do the rest in case, but what I am trying to figure out, using MYSQL, and PHP, is there anywhere inthere for PEAR DB, is it something I can use WITH MYSQL AND PHP. Or is it something to replace one of them, I am confused a little on the concept of PEAR DB.
Link to comment
https://forums.phpfreaks.com/topic/8835-mysql/
Share on other sites

PEAR DB is just a template system that uses PHP and MySQL
it isn't a language

you put in your MySQL server information
you give it the HTML template you want

and if you happen to know some more advanced coding strategies
you can implement them with the existing templates

I've only seen it once and as far as I know, it's probably easier to just not use it.
but that's just my opinion
Link to comment
https://forums.phpfreaks.com/topic/8835-mysql/#findComment-32437
Share on other sites

PEAR DB is like the DBI layer in Perl -- it allows you to write DB code independent of the underlying database that you are connecting to. Furthermore, the wrapper class itself has many useful functions that have been optimized for talking to the DB. IMHO, it's a good idea to use it.
Link to comment
https://forums.phpfreaks.com/topic/8835-mysql/#findComment-32716
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.