Sinatra、CouchDB 和 Sinatra 入门沙发休息?

发布于 2024-09-06 15:11:43 字数 127 浏览 4 评论 0原文

我刚刚开始学习 CouchDB 和 Sinatra,但正在努力寻找一些通过 CouchRest 集成两者的基本示例。 CouchRest 文档假设的内容太多了,对我来说还没有什么用处。

有人有有用的示例/文章/文档的链接吗?

I'm just starting to learn my way around CouchDB and Sinatra, but am struggling to find some basic examples of integrating the two via CouchRest. The CouchRest docs assume a little too much to be useful to me yet.

Does anyone have links to useful examples/articles/docs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

独自唱情﹋歌 2024-09-13 15:11:43

Sinatra 文档非常棒并且易于使用。

couchrest 存储库中的示例似乎显示了很多用例。 https://github.com/couchrest/couchrest_model

理解代码(尤其是前沿技术)的最佳方式ruby)只是阅读代码。

已更新,包含教程链接:http://japhr.blogspot .com/2009/03/spike-sinatra-and-couchdb.html

Sinatra docs are pretty great and easy to work with.

The examples in the couchrest repo seem to show a lot of use cases. https://github.com/couchrest/couchrest_model

The best way to understand code (and especially bleeding edge ruby) is to just read the code.

Updated, with link to tutorial: http://japhr.blogspot.com/2009/03/spike-sinatra-and-couchdb.html

薔薇婲 2024-09-13 15:11:43

您可能也应该研究一下 couch_potato 库,它正好达到了沙发休息和活动记录的基本方法之间的最佳点。来源和示例:https://github.com/langalex/couch_potato

You should probably look into the couch_potato library too, it just hits the sweet spot between the basic approach of couch rest and active record. Source and examples: https://github.com/langalex/couch_potato

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文