Is there a Cloud Spanner framework forthcoming?

荒凉一梦 提交于 2019-12-24 02:25:40

问题


I started looking at Google's Cloud Spanner and it certainly looks interesting.

Since ruby has rails, MongoDB has Meteor, and RethinkDB has Horizon, is there any talk about Cloud Spanner having some sort of dedicated framework, or is any existing framework adapting to Cloud Spanner?

Or is Cloud Spanner much too new to even consider this yet?


回答1:


We don't plan to create a Cloud Spanner-specific framework, but hope to integrate it into all the existing ORMs and popular frameworks.

The open-source community is already working on integration into Ruby/Rails via ActiveRecord with our support. There are projects for JBDC, JPA and eventually Hibernate as a result. We hope there are similar projects for Python, Node, PHP etc.

Long term, we hope that Cloud Spanner is just another database that is a support engine for all the ORMs and frameworks that people want to work with.




回答2:


It appears that feathersJs will be the first framework to support spanner:

https://github.com/perimetral/feathers-spanner-connector

Feathers already supports just about every database i know of, since it already supports many ORM's (waterline, sequelize, knex, etc) in addition to mongodb & rethink.




回答3:


Here's an example on how you can integrate Google Cloud Spanner into existing frameworks like SpringBoot / JPA / Hibernate: https://github.com/olavloite/spanner-jpa-example




回答4:


We just released an EF Core provider for the Google Spanner db: https://github.com/NoGame/NG.Data.Spanner

If it might be relevant to anyone...



来源:https://stackoverflow.com/questions/43034913/is-there-a-cloud-spanner-framework-forthcoming

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!