Jump to content


Photo

mysql


  • Please log in to reply
3 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 01 May 2006 - 07:37 PM

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.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 Zane

Zane
  • Administrators
  • Advanced Member
  • 4,134 posts

Posted 01 May 2006 - 07:45 PM

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

btn_donate_SM.gif Want to thank me? Contribute to my PayPal piggy-bank
 

172938.png

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 01 May 2006 - 08:58 PM

hmm I will keep that in mind, I appreciate the advice, thanks.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#4 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 02 May 2006 - 06:48 PM

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.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users