Ninjakreborn Posted May 1, 2006 Share Posted May 1, 2006 I was wondering about somethingPEAR DB is a powerful object oriented languageI 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. Quote Link to comment Share on other sites More sharing options...
Zane Posted May 1, 2006 Share Posted May 1, 2006 PEAR DB is just a template system that uses PHP and MySQLit isn't a languageyou put in your MySQL server informationyou give it the HTML template you wantand if you happen to know some more advanced coding strategiesyou can implement them with the existing templatesI'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 Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted May 1, 2006 Author Share Posted May 1, 2006 hmm I will keep that in mind, I appreciate the advice, thanks. Quote Link to comment Share on other sites More sharing options...
fenway Posted May 2, 2006 Share Posted May 2, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.