Hi All So I have a database called OpenAccess (used for describing electrical objects like transistors etc.) and I''d like to put Rails on top of it. First question is "Is this possible?" i.e. can you put ActiveRecord (or some component thereof) on top of a non-SQL database, then have access to most of the rails goodness? Thanks much Kretch
Kretch Kretchmer wrote:> Hi All > So I have a database called OpenAccess (used for describing electrical > objects like transistors etc.) and I''d like to put Rails on top of > it. > First question is "Is this possible?" i.e. can you put ActiveRecord > (or some component thereof) on top of a non-SQL database, then have > access to most of the rails goodness?I don''t know offhand how to do this but it should be possible: there are people using Rails with CouchDB, and with Amazon''s SimpleDB (the SimpleRecord library).> > Thanks much > KretchBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/.
Marnen Laibow-Koser wrote:> I don''t know offhand how to do this but it should be possible: there are > people using Rails with CouchDB, and with Amazon''s SimpleDB (the > SimpleRecord library).Yes you can, just not with ActiveRecord without creating your own intermediate layer. -- Roderick van Domburg http://www.nedforce.com -- Posted via http://www.ruby-forum.com/.
Thanks Marnen- The SimpleDB example is very interesting, and looks like it could be applicable to my problem. Thank you for pointing me in that direction! regards Kretch On May 22, 4:39 am, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote:> Kretch Kretchmer wrote: > > Hi All > > So I have a database called OpenAccess (used for describing electrical > > objects like transistors etc.) and I''d like to put Rails on top of > > it. > > First question is "Is this possible?" i.e. can you put ActiveRecord > > (or some component thereof) on top of a non-SQL database, then have > > access to most of the rails goodness? > > I don''t know offhand how to do this but it should be possible: there are > people using Rails with CouchDB, and with Amazon''s SimpleDB (the > SimpleRecord library). > > > > > Thanks much > > Kretch > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted viahttp://www.ruby-forum.com/.
So SimpleDB is a drop-in replacement for ActiveRecord? Or does is sit between ActiveRecord and the Amazon Simple DB? Thanks much Kretch On May 22, 8:52 am, Roderick van Domburg <rails-mailing-l...@andreas- s.net> wrote:> Marnen Laibow-Koser wrote: > > I don''t know offhand how to do this but it should be possible: there are > > people using Rails with CouchDB, and with Amazon''s SimpleDB (the > > SimpleRecord library). > > Yes you can, just not with ActiveRecord without creating your own > intermediate layer. > > -- > Roderick van Domburghttp://www.nedforce.com > -- > Posted viahttp://www.ruby-forum.com/.
We''ve built a drop in replacement for ActiveRecord called SimpleRecord: http://code.google.com/p/simple-record/ Just make your models extend SimpleRecord::Base instead of ActiveRecord::Base and you''re good to go. Travis On May 22, 10:12 am, kretch <yaronkretch...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> SoSimpleDBis a drop-in replacement for ActiveRecord? Or does is sit > between ActiveRecord and the Amazon Simple DB? > > Thanks much > Kretch > > On May 22, 8:52 am, Roderick van Domburg <rails-mailing-l...@andreas- > > > > s.net> wrote: > > Marnen Laibow-Koser wrote: > > > I don''t know offhand how to do this but it should be possible: there are > > > people using Rails with CouchDB, and with Amazon''sSimpleDB(the > > > SimpleRecord library). > > > Yes you can, just not with ActiveRecord without creating your own > > intermediate layer. > > > -- > > Roderick van Domburghttp://www.nedforce.com > > -- > > Posted viahttp://www.ruby-forum.com/.