Lafcadio: An object-relational mapping layer for Ruby

F

Francis Hwang

Hi everybody,

I've just released Lafcadio, an object-relational mapping layer for
Ruby and MySQL, as an alpha release. So far this code hasn't been used
by anybody else, but it's currently in use on three live sites --
including one pretty high-traffic site -- not to mention that I've
used it over the past year on a number of personal projects.

Again, it's in alpha, so I don't expect anybody to put their payroll
system on it right now. But if there's anybody out there who's
interested in this sort of thing, and would like to help me out with
it -- either just testing it or coding or just telling me where my
docs could be clearer -- I'd appreciate your input.

http://lafcadio.sourceforge.net

Francis
 
F

Francis Hwang

Andreas:

If this is to become reusable across a number of different DBs (like
PostgresSQL) then I suppose that's a necessary step. That step should
be fairly easy, since the database calls are limited to just a few
methods.

The main difficulty in such an adaptation would be differences in SQL;
without having used PostgresSQL a lot I'd imagine there would be a few
key differences that would require adaptation.

Or is there another reason you're bringing up DBI?

Francis
 
D

Dmitry V. Sabanin

Hi!

ATM i'm making project that will help one to quickly have site with news
system, forum, guestbook, etc. May i include your code into the package?
I want to use it widely through all of my code. It will be released as LGPL.

P.S. I'm now trying to make test-suites run without errors on 1.8, it have a
lot of "meth (bla)" code, that sometimes raises syntax errors.
 
F

Francis Hwang

Dmitry V. Sabanin said:
Hi!

ATM i'm making project that will help one to quickly have site with news
system, forum, guestbook, etc. May i include your code into the package?
I want to use it widely through all of my code. It will be released as LGPL.

Perhaps things would be clearer for people using your package if you
simply listed Lafcadio as a requirement, and pointed them to where it
can be downloaded. Being in alpha, Lafcadio might be a bit of a moving
target in the short term, so it might be a bit of a hassle for you to
constantly incorporate new changes.
P.S. I'm now trying to make test-suites run without errors on 1.8, it have a
lot of "meth (bla)" code, that sometimes raises syntax errors.

Oop! Been doing a lot more testing in 1.6.8 than in 1.8. I'll get on
that right away, thanks.

Francis
 
D

Dmitry V. Sabanin

Perhaps things would be clearer for people using your package if you
simply listed Lafcadio as a requirement, and pointed them to where it
can be downloaded. Being in alpha, Lafcadio might be a bit of a moving
target in the short term, so it might be a bit of a hassle for you to
constantly incorporate new changes.

I placed it in the redist directory, and probably, i'll write it in my INSTALL
file, that user will be able to use another version of lafcadio. I just want
to have as little dependencies, as it is possible, to make everything working
out of box. But maybe i'm wrong, i have to think about this some time.
Oop! Been doing a lot more testing in 1.6.8 than in 1.8. I'll get on
that right away, thanks.

No problems, if you want i could mail you (or give you data for accessing CVS)
that have a lots of code fixed already.
Btw, big thank you for a good library! :)
 
F

Francis Hwang

Dmitry V. Sabanin said:
I placed it in the redist directory, and probably, i'll write it in my INSTALL
file, that user will be able to use another version of lafcadio. I just want
to have as little dependencies, as it is possible, to make everything working
out of box. But maybe i'm wrong, i have to think about this some time.

That might work, too. Feel free to try out whatever you think will
work for your project. BTW, Lafcadio is LGPL, too.
No problems, if you want i could mail you (or give you data for accessing CVS)
that have a lots of code fixed already.

I went ahead and fixed all the syntax errors (mostly adding a lot of
parenthesis) and all the tests run fine as of the last CVS checkin,
but you have to suppress warnings or else the output's pretty messy.
I'm planning on fixing all the warnings in the next day or so.

If you want to email me code that fixes warnings, that'd be great.
Otherwise I can just handle it on my own, too.
Btw, big thank you for a good library! :)

You're welcome!
 
F

Francis Hwang

Today's release (0.1.2) runs fine in Ruby 1.8.0 without any warnings.

Francis
 
F

Francis Hwang

Dmitry V. Sabanin said:
Thanx, sorry for being idle for a while..
Question, do you make changes to CVS often? Or i can just get the tar-ball?

At this moment I'm not making a lot of drastic changes, so you can
probably just get the tar-ball.
 

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

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top