James Gray
5/17/2009 7:49:00 PM
On May 17, 2009, at 1:01 PM, Mk 27 wrote:
> I have never used mySQL because perl's Storable or BerkeleyDB modules
> always did me fine for cgi stuff. I am going to be learning rails,
> so I
> supposed I will have to learn mySQL anyway, but I was wondering: is it
> exclusively web based, or could I use it to produce database files for
> use in a (non web app) ruby script?
MySQL is not required for Rails. It works with SQLite, Postgres,
Oracle, and more.
> If not, is there a ruby equivalent to something nice and simple like
> Storable?
Yeah, Ruby's Marshal module is similar. If you would prefer a
BerkeleyDB like experience, check out Tokyo Cabinet.
James Edward Gray II