Date: 06/30/00
- Next message: Bob Bowker: "Re: [phplib] database abstraction"
- Previous message: Jeff Kolber: "[phplib] database abstraction"
- In reply to: Jeff Kolber: "[phplib] database abstraction"
- Next in thread: Bob Bowker: "Re: [phplib] database abstraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeff:
It's really quite simple-- you are either extending the DB_Sql and filling
in the variable names or you are using DB_Sql directly. In either case,
the question is, from what file is the DB_Sql you are using located? By
default it's db_mysql.inc but you can change that to db_oracle.inc. You do
this in the prepend.inc file.
However, you probably will want to rewrite your db code so that you are
using all the nice new features of Oracle (mainly transactions) but other
than that you are all set.
I hope this answers your question, but if you were asking about something
more specific please let me know.
Regards,
Andrew
On Fri, 30 Jun 2000, Jeff Kolber wrote:
> hi all,
>
> I am in a situation where I am developing webapp prototypes using mysql and
> just I learned that this will all eventually move over to oracle, but we
> don't know when the switch will be made.
>
> I am wondering if anyone can comment on using the database abstraction of
> phplib to easily allow me to continue developing using mysql and then
> switch to oracle without having to rewrite all my queries. I understand that
> there are more features in oracle and I'm probably going to want to rewrite
> some queries anyway. I am hoping that phplibs db abstraction will help save
> some time and effort in the switch. Has anyone who has done anything like
> this care to comment?
>
> thanks
>
> (I am not subscribed so please reply to me as well as the list)
>
>
>
> Jeff Kolber Director of Production
> IN2 | 205 Hudson Street, 7th Floor, New York, NY 10013
> jeff <email protected> | Phone 646-613-2007 | Fax 646-613-0648
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Bob Bowker: "Re: [phplib] database abstraction"
- Previous message: Jeff Kolber: "[phplib] database abstraction"
- In reply to: Jeff Kolber: "[phplib] database abstraction"
- Next in thread: Bob Bowker: "Re: [phplib] database abstraction"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

