From: Dave Burt Date: 2005-10-30T21:52:06+09:00 Subject: Re: The "perfect" ORM? Hal Fulton wrote: > James Edward Gray II wrote: >> The whole time I'm reading your posts though I keep thinking you just >> want: >> >> File.open("objects", "w") do |file| Marshal.dump(whatever, file) end >> >> Or YAML. Or PStore if you also want transactions. >> >> Can you explain how what you want differs from this? > > Not a dumb question at all. And I wouldn't dignify my ideas as a "vision" > yet. If it works well, I'll retroactively dub it a vision. ;) > > Basically the only thing missing from a YAML solution or something is > the ability to do sophisticated queries without storing all the objects > in memory at once. > > Given that I may have 100,000 objects or so, I don't want to store them > all in a giant array, but I *do* want to be able to find them by the > values of their accessors. So Marshalled objects plus indexes? Dave