javascript 使用 get/post 的免费云数据存储?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9024819/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
free cloud data stores that use get/post?
提问by mkoryak
I know that there are other key/value stores similar to http://openkeyval.orgout there but i cannot remember their names.
我知道还有其他类似于http://openkeyval.org 的键/值存储,但我不记得它们的名字。
Please enlighten me.
请赐教。
i need the following features:
我需要以下功能:
- free
- can be used via 100% clientside code
- fast and easy to integrate with
- 自由
- 可以通过 100% 客户端代码使用
- 快速且易于集成
edit:
dropped the security requirement, since its not very important to me and was skewing the answers towards self-hosted solutions.
编辑:
放弃了安全要求,因为它对我来说不是很重要,并且正在将答案偏向自托管解决方案。
found another service:
http://rastajs.errorjs.com/
找到了另一个服务:http:
//rastajs.errorjs.com/
this one is easy to use but seems to mangle my values by removing all the spaces!
这个很容易使用,但似乎通过删除所有空格来破坏我的价值观!
采纳答案by Carlo Alberto Degli Atti
I needed something like that, so I've built this: KVStore.io, a simple key/value API based storage service
我需要这样的东西,所以我构建了这个:KVStore.io,一个简单的基于键/值 API 的存储服务
It's still under heavy development (it's an alpha version...) but I'm using it to store some stuffs (like website marketing forms) and it's working nicely...
它仍在大力开发中(它是一个 alpha 版本......)但我用它来存储一些东西(比如网站营销表格)并且它运行良好......
回答by Mike Axiak
Parse.com's data storage api has a really wonderful jquery library ( https://github.com/srhyne/jQuery-Parse) that makes it extremely easy to have simple key/value storage from your front-end javascript.
Parse.com 的数据存储 api 有一个非常棒的 jquery 库(https://github.com/srhyne/jQuery-Parse),这使得从前端 javascript 中获得简单的键/值存储变得非常容易。
回答by Rodney Folz
OpenKeyval is open-source, so you can host it yourself internally and add whatever access limitations you like.
OpenKeyval 是开源的,因此您可以自己在内部托管它并添加您喜欢的任何访问限制。
CouchDBis basically OpenKeyval on steroids. It provides a RESTful JSON API than can be accessed from any environment that allows HTTP requests (i.e., JavaScript) but you'll have to host it yourself since there aren't any public-facing CouchDB servers (that I know of).
CouchDB基本上是增强型的 OpenKeyval。它提供了一个 RESTful JSON API,可以从任何允许 HTTP 请求(即 JavaScript)的环境中访问它,但您必须自己托管它,因为没有任何面向公众的 CouchDB 服务器(我知道)。
And since you're looking for a list:
既然你正在寻找一个列表:
回答by Peter Tseng
StackMobor Parseif you want a (client-side) JavaScript API with user management, facebook/twitter integration, data store (with geospatial), and push notifications.
StackMob或Parse,如果你想要一个(客户端)JavaScript API 与用户管理、facebook/twitter 集成、数据存储(带地理空间)和推送通知。
StackMob also lets you host your website.
StackMob 还允许您托管您的网站。
For more flexibility, less service lock-in, and cheaper scalability: I would suggest CouchDB(though you would likely still use a hosting service like Cloudant). CouchDB can host your website, and provides a HTTP API for storing data, to which your client-side JavaScript can make REST calls.
为了获得更大的灵活性、更少的服务锁定和更便宜的可扩展性:我建议使用CouchDB(尽管您可能仍会使用像Cloudant这样的托管服务)。CouchDB 可以托管您的网站,并提供用于存储数据的 HTTP API,您的客户端 JavaScript 可以对其进行 REST 调用。
回答by niutech
Besides Parse, StackMob and Cloudant, there are other solutions:
除了 Parse、StackMob 和 Cloudant,还有其他解决方案:
- Firebaseprovides a free 100MB cloud backend with REST and JS API,
- MongoHQoffers 512MB free instance of MongoDB with REST API,
- Google Cloud Datastorewith 1GB free storage is another option.
- Firebase提供了一个免费的 100MB 云后端,带有 REST 和 JS API,
- MongoHQ提供 512MB 的免费 MongoDB 实例和 REST API,
- 具有 1GB 免费存储空间的Google Cloud Datastore是另一种选择。