Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Object oriented DB access

Name: Anonymous 2008-12-19 17:04

So I'm doing a very low scale project - just a simple blog/template for a guy. PHP5/MySQL5 on Apache.

I had programmed mostly the entire thing without abstracting the database, since I figured this project would be pretty specific to my clients needs, now however... I'm really liking how this turned out and would like to use the backend for my own personal site.

The problem is my personal site is on Postgre.

So my question is... do I dick around with PEAR::DB (does that project even exist anymore?) - or, do I just go through searching query by query and changing them by hand?

Name: Bro 2008-12-21 18:06

>>43
Sorry Bro, but it most definitely does do IO, bro, look at this bro:

Prelude> error "lol"
*** Exception: lol


Clearly there is some sort of IO going on bro because I pass it a "lol" string bro and that stuff gets to the outside world bro, which is IMO IO Bro.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List