> I'll probably end up using ActiveRecord. I just get caught up > sometimes in the memory game, and hate seeing my memory usage sky > rocket as I pull large results. But if I have the memory, why not use > it to my advantage!
If the situation is something like having an application that only requires only one or two SQL queries, then why not skip ActiveRecord? I'm interested in how one can skip the database altogether, though. This seems like something that must have come up here before? But personally, I threw together a little number I like to call DirectoryModel[1] that just keeps track of the files in a directory for a (very) small comic-strip app[2]. I bet it needs some work! I wanted to say a thing or two about that application, actually. I felt it was not a good idea to have Camping keeping track of everything, like it would be a bad idea to have it serving html pages and comic strip images, because lighttpd can do that better. What I do instead is have Camping act as a sort of primitive stand-in for WebDAV or something and post comic strip images via curl. When my app gets a PUT request, it saves the image I've sent it (which is just speech bubbles), generates the full strip image, and generates or regenerates any html files which need it. Putting this sort of way of interacting (basically, no posting html forms over http for admin stuff) with the server to use in apps interests me a fair bit, and I was going to post more about it but I fear the post I was going to make became sort of off-topic. To me this seems like an exciting and appropriate use for Camping, though! -- Michael Daines [1] http://pastie.caboo.se/36319 (sorry, no public svn repository) [2] http://penguins.mdaines.com _______________________________________________ Camping-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/camping-list

