D
Daniel Berger
Hi all,
Well, since the rails mailing list idea was rejected, and since I
avoid IRC while at work, and I can never remember to recheck wiki
postings, I'm posting here. Yell at DHH if you don't like it.
I'd love to give rails a try. Unfortunately, we use Oracle here at
work and there isn't yet an Oracle adapter. I started creating one
using OCI8, but the more I look, the more I'm confused as to why there
isn't a "generic" adapter using DBI.
Looking at the AbstractAdapter class, I see a series of methods that
look like they need to be defined. Is there one that can't be handled
via DBI? I don't see one. They look generic to me, both in terms of
executing sql as well as retrieving metadata. If there are any that
require driver specific functions, can't we just call the appropriate
'func' method on the handle based on the driver name?
Plus, couldn't you somehow then take advantage of DBI's extra
features, like XML/XSLT/XSQL stuff?
What am I missing?
Regards,
Dan
PS - No, I don't care about the extra overhead from using DBI over
vendor specific drivers.
Well, since the rails mailing list idea was rejected, and since I
avoid IRC while at work, and I can never remember to recheck wiki
postings, I'm posting here. Yell at DHH if you don't like it.
I'd love to give rails a try. Unfortunately, we use Oracle here at
work and there isn't yet an Oracle adapter. I started creating one
using OCI8, but the more I look, the more I'm confused as to why there
isn't a "generic" adapter using DBI.
Looking at the AbstractAdapter class, I see a series of methods that
look like they need to be defined. Is there one that can't be handled
via DBI? I don't see one. They look generic to me, both in terms of
executing sql as well as retrieving metadata. If there are any that
require driver specific functions, can't we just call the appropriate
'func' method on the handle based on the driver name?
Plus, couldn't you somehow then take advantage of DBI's extra
features, like XML/XSLT/XSQL stuff?
What am I missing?
Regards,
Dan
PS - No, I don't care about the extra overhead from using DBI over
vendor specific drivers.