A little place of calm: A little place of calm » Blog Archive » CouchDB on Rails (part 4 of ?)
Austin Putman
· 1 year ago
thanks for writing all this up -- this kind of work could lead to some cool dbstore patterns
WebDesignBoy
· 6 months ago
ha! I was thinking the same thing. also great post! thanks.
Rami Fawaz
· 3 months ago
So true alot of good will come from your share. thanks!
girls in bondage
· 2 months ago
Hi Aimee - Just an update, the master branch of ActiveCouch now supports 0.8.0 and upwards. I'm still working on the couchify command (as you may notice from the code) so please give it another go!
weight loss pill
· 2 days ago
Considerably, the mesothelioma article is in reality the greatest on this noteworthy topic. I agree with your conclusions and will eagerly look forward to your next acai berry updates. Saying thanks will not just be sufficient, for best weight loss pills the wonderful clarity in your writing. I will immediately grab your rss feed to stay privy of any updates. Pleasant work and much success in your business dealings!
claire
· 2 months ago
makes more sense now. thanks
aimee
· 1 year ago
It is a pleasure.
Jan
· 1 year ago
Aimee, this is again, excellent, thanks for taking the time to write this, and keep it up!
The find/view issue, in my opinion shows that AR is probably not the best model to use with CouchDB. I'm not saying it can't be made to work together, but I think we'd need to bend both parts to something they weren't designed to do. Why is that?
The difference between CouchDB and an RDBMS (that AR is 'just' and object representation of) can be summed up as "RDBMS: Static data & dynamic queries vs CouchDB: Dynamic data & fixed queries". So providing dynamic queries is not exactly CouchDB's strength. This is not a bad thing though, you still can get all the info you need for your application out of CouchDB. Just in a different way. That makes AR probably not the first choice for an OO abstraction layer on top of CouchDB.
Great series of articles. You've hit a perfect balance between code examples and explanation which has really got me interested in investigating CouchDB. Thanks very much
aimee
· 1 year ago
@Jan ... Thank you for your encouragement, and it is really great to hear your opinions. I'm not particularly impressed with ActiveCouch and i don't want to be the one to fix its issues. I have a feeling the RelaxDB Merb plugin will prove to be much more flexible and more suited to CouchDB.
@SD ... Thanks, it's lovely to hear your feedback. I'm glad to be getting other people interested in the Couch! :)
Jan
· 1 year ago
Jup, my comment definitely missed a "In case you want to fix AactiveCouch"... Sorry :-) (New ep tonight? :)
aimee
· 1 year ago
Yes, i'm getting on with some more CouchDB tonight. I feel i'm in a race with TopFunky to see if i can get my next part out before the PeepCode! :) Although i'm really very interested to see what Geoffrey has to say about CouchDB and Rails ...!
Geoffrey Grosenbach
· 1 year ago
Personally, I think some of these ActiveRecord-ish libraries are overkill. I wrote a simple 60-line wrapper for CouchRest that does most of what you need, and takes advantage of CouchDB's strengths (flexible schema, etc.)
Excellent, thank you Geoffrey! I will take a look.
I'm inclined to agree with you, but to get started i wanted something that feels familiar for me.
Arun Thampi
· 1 year ago
Hi Aimee - Just stumbled upon this blog post. I'm making changes to ActiveCouch this weekend to make it compatible with 0.8.x as well as more Rails-friendly (so a 'couchify' command which will automagically add config files for ActiveCouch to use in your Rails project, etc.)
Been really busy at work, so haven't gotten a chance to catch up with CouchDB awesomeness.
Stay tuned, though :)
aimee
· 1 year ago
Nice to hear from you, Arun. Good luck with the new updates - should be exciting! :)
Arun Thampi
· 1 year ago
Hi Aimee - Just an update, the master branch of ActiveCouch now supports 0.8.0 and upwards. I'm still working on the couchify command (as you may notice from the code) so please give it another go!
Thanks for your feedback.
Cheers, Arun
MoneyGuru
· 5 months ago
Yap it supports up.
aimee
· 1 year ago
Nice one, thanks for the update! :)
Arun Thampi
· 1 year ago
Hi Aimee - I've updated the ActiveCouch wiki where you can read about the latest changes to ActiveCouch and how it integrates much better with Ruby On Rails:
Ariel, you are very welcome. I'm sure it's obvious that they are very much exploratory on my part, but i'm glad to know that they are of help to other people.
COCA
· 9 months ago
thanks for writing all this up
Chanel Sunglasses
· 7 months ago
I understand what you meant. You've managed to state the facts clearly and you explained it well. Thanks for your post!
IRS Bod
· 6 months ago
Aimee,
Another great post. Always a pleasure to read them.
Bod
simonly
· 4 months ago
I totally agree. Fantastic post yet again.
HBC
· 2 months ago
I concur, it has taken me a while to find these informative blogs but they are well worth the lokking
Buy Backlinks
· 5 months ago
This is great! Been trying to figure out the CouchDB on rails issue for quite some time. Thanks
payday loans
· 5 months ago
It is not uncommon to have to deal with several constant stores in a single application. A very common approach is to use a relational database that stores paths pointing to files that are stored in a file system. So you might think as CouchDB as a special "file system" for a special part of your data model. Also, in larger applications, multiple stores and complex physical architectures are quite common, so don't be shy of using more than one persistent store for your models. faxless payday loan
digital radio scanners
· 3 months ago
Great post. Thanks for the effort to write all this up. Seems easy enough to follow thanks to the great instructions. Great plugins
Neuseeland
· 4 months ago
I always had problems to get this right, however, your posts helped me to get an better understanding.
dave8291
· 4 months ago
Great info here.. thanks for taking the time to write it all out in detail.
Referral Code Full Tilt Poker
· 4 months ago
That's some of the good ol' fashioned cobbled code I like to see! Fantastic job running with this project and keeping it going, I hope the rewards you reap are worth it. Cheers!
Craig
· 4 months ago
Thanks for all your exploration into this for us all and posting your experiences, I'm sure for people wanting the same things you want you are saving them a bunch of headaches. I'm going to continue on reading the rest of your entries!
I feel i'm in a race with TopFunky to see if i can get my next part out before the PeepCode! :) Although i'm really very interested to see what Geoffrey has to say about CouchDB and Rails!
Club Penguin Cheats
· 4 months ago
I feel i'm in a race with TopFunky to see if i can get my next part out before the PeepCode! :) Although i'm really very interested to see what Geoffrey has to say about CouchDB and Rails.
Treat Acne
· 4 months ago
Another great post. Always a pleasure to read them.
Work at Home Make Money Online
· 4 months ago
Great job in your post here! I really have enjoyed reading this very much. will bookmark, thanks for sharing!
computer keeps freezing
· 1 month ago
i wish i could also create just a simple program in the future..i hate coding:-(
I was thinking the same thing.
also great post!
thanks.
The find/view issue, in my opinion shows that AR is probably not the best model to use with CouchDB. I'm not saying it can't be made to work together, but I think we'd need to bend both parts to something they weren't designed to do. Why is that?
The difference between CouchDB and an RDBMS (that AR is 'just' and object representation of) can be summed up as "RDBMS: Static data & dynamic queries vs CouchDB: Dynamic data & fixed queries". So providing dynamic queries is not exactly CouchDB's strength. This is not a bad thing though, you still can get all the info you need for your application out of CouchDB. Just in a different way. That makes AR probably not the first choice for an OO abstraction layer on top of CouchDB.
To fix the API issues of ActiveCouch, see http://wiki.apache.org/couchdb/BreakingChanges for what has changed in CouchDB.
Again, brilliant content, please continue!
Cheers
Jan
--
@SD ... Thanks, it's lovely to hear your feedback. I'm glad to be getting other people interested in the Couch! :)
http://gist.github.com/10636
I'm inclined to agree with you, but to get started i wanted something
that feels familiar for me.
Been really busy at work, so haven't gotten a chance to catch up with CouchDB awesomeness.
Stay tuned, though :)
Thanks for your feedback.
Cheers,
Arun
http://mclovindoesruby.wordpress.com/2008/10/26...
Many many many thanks for these brillant posts.
Ariel
Another great post. Always a pleasure to read them.
Bod
So you might think as CouchDB as a special "file system" for a special part of your data model.
Also, in larger applications, multiple stores and complex physical architectures are quite common, so don't be shy of using more than one persistent store for your models.
faxless payday loan
Thanks for the effort to write all this up.
Seems easy enough to follow thanks to the great instructions.
Great plugins
Craig - Full Tilt referral code
Rose
computer keeps freezing