RavenDB 可以在 .Net 之外连接吗?
Can RavenDB be interfaced outside of .Net?
RavenDB是否有通用的数据接口?例如,Java、Python,甚至 PHP 如何与 RavenDB 交互?
在 RavenDB 3.0 中,他们还添加了一个 Java 客户端。我自己还没有尝试过,但你可以在这里阅读:
http://ayende.com/blog/168354/what-is-new-in-ravendb-3-0-jvm-client-api
在那篇博客中 post Ayende 还提到:
RavenDB has always been accessible from other platforms. We have users using RavenDB from Python and Node.JS, we also have users using Ruby & PHP, although there isn’t a publicly available resource for that.
With RavenDB 3.0, we release an official Java Client API for RavenDB. Using it is pretty simple if you are familiar with the RavenDB API or the Hibernate API.
所以回答你的问题:不,没有适用于所有事物的“通用数据接口”,但大多数事情肯定是可行的。
几乎每个 ravendb 命令都可以通过 REST 通过 HTTP 获得。
对于版本 2.5,已记录 http://ravendb.net/docs/article-page/2.5/csharp/http-api/http-api-single。对于第 3 版,他们省略了该文档(或者它还不可用),但它仍然存在。
客户端(.net 或 java)是 'just' 那些 HTTP REST 调用的包装器,可以执行缓存、序列化、故障转移等操作,等等...,以便在您的应用程序中更轻松地使用 RavenDB。
RavenDB是否有通用的数据接口?例如,Java、Python,甚至 PHP 如何与 RavenDB 交互?
在 RavenDB 3.0 中,他们还添加了一个 Java 客户端。我自己还没有尝试过,但你可以在这里阅读:
http://ayende.com/blog/168354/what-is-new-in-ravendb-3-0-jvm-client-api
在那篇博客中 post Ayende 还提到:
RavenDB has always been accessible from other platforms. We have users using RavenDB from Python and Node.JS, we also have users using Ruby & PHP, although there isn’t a publicly available resource for that.
With RavenDB 3.0, we release an official Java Client API for RavenDB. Using it is pretty simple if you are familiar with the RavenDB API or the Hibernate API.
所以回答你的问题:不,没有适用于所有事物的“通用数据接口”,但大多数事情肯定是可行的。
几乎每个 ravendb 命令都可以通过 REST 通过 HTTP 获得。
对于版本 2.5,已记录 http://ravendb.net/docs/article-page/2.5/csharp/http-api/http-api-single。对于第 3 版,他们省略了该文档(或者它还不可用),但它仍然存在。
客户端(.net 或 java)是 'just' 那些 HTTP REST 调用的包装器,可以执行缓存、序列化、故障转移等操作,等等...,以便在您的应用程序中更轻松地使用 RavenDB。