Will ActiveRecord support Berkeley DB?

J

Jamis Buck

J. D. said:
Hi,

Are there plans to have ActiveRecord support Berkeley DB?

Thanks.

I can't speak for David, but I wouldn't think BDB would be a valid
target for ActiveRecord. AR is very SQL-dependent, and BDB does not (to
my knowledge) sport an SQL front-end.

- Jamis
 
A

Ara.T.Howard

I can't speak for David, but I wouldn't think BDB would be a valid
target for ActiveRecord. AR is very SQL-dependent, and BDB does not (to
my knowledge) sport an SQL front-end.

sure it does - it's called mysql. ;-)

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself. --Shunryu Suzuki
===============================================================================
 
J

J. D.

Jamis said:
I can't speak for David, but I wouldn't think BDB would be a valid
target for ActiveRecord. AR is very SQL-dependent, and BDB does not (to
my knowledge) sport an SQL front-end.

- Jamis

Do you know if sqlite 3.x will be supported soon? I just guessing you'd
be the guru working on 3.x support for ruby. :) But I don't know how
soon that would translate to support in ActiveRecord.
 
J

Jamis Buck

J. D. said:
Do you know if sqlite 3.x will be supported soon? I just guessing you'd
be the guru working on 3.x support for ruby. :) But I don't know how
soon that would translate to support in ActiveRecord.

SQLite3 support is on my TODO list, but I'm waiting for sqlite3 to
stabilize. (I've had reports that it is still not quite ready for
production stuff.) Also, it appears that more people are wanting me to
finish Net::SSH than work on SQLite3, so Net::SSH is my current priority
(now that Needle 1.0 is out the door).

- Jamis
 
A

Ara.T.Howard

SQLite3 support is on my TODO list, but I'm waiting for sqlite3 to
stabilize. (I've had reports that it is still not quite ready for production
stuff.) Also, it appears that more people are wanting me to finish Net::SSH
than work on SQLite3, so Net::SSH is my current priority (now that Needle
1.0 is out the door).

what you need is some more projects ;-)

all - we need to start a paypal account for jamis or something!

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself. --Shunryu Suzuki
===============================================================================
 
J

Jamis Buck

what you need is some more projects ;-)

lol :) no kidding. I'm quite motivated to get Net::SSH stabilized,
though, because once that's done
all - we need to start a paypal account for jamis or something!

Hey, I'm always open to free money. :)

- Jamis
 
J

Jamis Buck

Jamis said:
lol :) no kidding. I'm quite motivated to get Net::SSH stabilized,
though, because once that's done

Gah! I don't even have time to finish my sentences! :) What I *meant* to
say was, "because once that's done, I'll have some time to focus on some
projects I've been neglecting for a long time, like my personal finance
manager."

Sheesh. :)

- Jamis
 
A

Ara.T.Howard

Gah! I don't even have time to finish my sentences! :) What I *meant* to say
was, "because once that's done, I'll have some time to focus on some
projects I've been neglecting for a long time, like my personal finance
manager."

obviously to manage the terrific influx of paypal donations right?

-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself. --Shunryu Suzuki
===============================================================================
 
G

gabriele renzi

Jamis Buck ha scritto:
I can't speak for David, but I wouldn't think BDB would be a valid
target for ActiveRecord. AR is very SQL-dependent, and BDB does not (to
my knowledge) sport an SQL front-end.

well, anyway I think an ActiveRecord-like api is possible.
I'm thinking of the MadeleineRecord wish that you can find on the rails
wiki, and of ActiveLDAP.
 
D

David Heinemeier Hansson

Are there plans to have ActiveRecord support Berkeley DB?

The plan is that I'm open to contributions :)

Seriously, if you want a certain database supported in Active Record,
you should really have a look at giving it a go. There's a ton of unit
tests, lots of examples from the other adapters, and a healthy
community. Most adapters are around a hundred lines of code.
--
David Heinemeier Hansson,
http://www.basecamphq.com/ -- Web-based Project Management
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://macromates.com/ -- TextMate: Code and markup editor (OS X)
http://www.loudthinking.com/ -- Broadcasting Brain
 
J

Jamis Buck

David said:
The plan is that I'm open to contributions :)

Seriously, if you want a certain database supported in Active Record,
you should really have a look at giving it a go. There's a ton of unit
tests, lots of examples from the other adapters, and a healthy
community. Most adapters are around a hundred lines of code.

Keep in mind, though, that much of the functionality that AR::Base adds
to your subclasses is implemented using SQL. Thus, unless your chosen
backend supports an SQL interface, you'll probably wind up having to
reimplement most of that functionality. Which means AR wouldn't be
buying you very much. :(

It would be *nice* (and I'm not volunteering, David! ;)) if AR
abstracted a bit more away from SQL, but that would add a lot more
complexity to an already fairly complex beast. As it is, it is a great
fit for *most* things, and for everything else, wellll....there's
MasterCard. (sorry, I couldn't resist.)

- Jamis
 
D

David Heinemeier Hansson

if AR abstracted a bit more away from SQL, but that would add a lot
more complexity to an already fairly complex beast. As it is, it is a
great fit for *most* things, and for everything else,
wellll....there's MasterCard. (sorry, I couldn't resist.)

Active Record's niche is the close relationship with SQL. I see that as
a definite strength over similar frameworks that attempts to abstract
the querying to their own object-like interfaces.
--
David Heinemeier Hansson,
http://www.basecamphq.com/ -- Web-based Project Management
http://www.rubyonrails.org/ -- Web-application framework for Ruby
http://macromates.com/ -- TextMate: Code and markup editor (OS X)
http://www.loudthinking.com/ -- Broadcasting Brain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,161
Messages
2,570,891
Members
47,423
Latest member
henerygril

Latest Threads

Top