On 1/29/07, Eric Mill <[EMAIL PROTECTED]> wrote: > > Running a full-featured client/server SQL database engine for > > applications that have only a handful of users is often overkill. > > Agreed -- I think this is one of the reasons why pushes SQLite so much > and makes it the default DB engine for Camping. I've started hearing > things about Kirbybase (http://www.netpromi.com/kirbybase_ruby.html) > though. It's a non-SQL storage engine, uses pleasant Ruby syntax and > blocks, and stores data in flat, easy to edit files. Has anyone used > it? Is it any better than using Yaml? > > -- Eric >
Kirbybase is mind-blowingly awesome. It's better than yaml for doing DB like things because when you update a record it actually updates the record in-place in the file (if it can) instead of having to regenerate the entire file. Also, it has slightly more evolved 'select' like methods and things. (: I've used it in several of my own projects (stuff that was done before camping existed) to great effect. The fact that it's pure Ruby is just beautiful. In my uber-humble opinion, distributing gem wrappers for C stuff (sqlite for example) is still a bit tougher to do in a heavily cross-platform situation. Recently I've been using sqlite since I've been working on slightly larger apps that target a single platform ... IIS :( *barf* ... But I've found a nice combination of ruby-web.exe, sqlite3, and ArrayFields that keeps me pretty productive. I keep telling myself that I'm going to try to get camping running on IIS, but I don't know really where to start. I guess I could use one of the post-amble CGI versions and run it using Ruby as an ISAPI filter, but I don't know much about active record. I'm pretty sure that the ISAPI filter method would start a new copy of the interpreter for each page request which I think is a recipe for disaster with ActiveRecord. (?) Sorry to get off topic. :P At one point someone was working on an ActiveRecord - Kirbybase bridge called "Akbar" ... But I think it rusted from disuse... Kirbybase/Akbar/Camping sounds like fun though... heh, -Harold _______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

