javascript ajax呼び出しからデータを保存および取得できるデータベースサービスを探しています。サーバーの負荷を軽減するには本当に良い方法だと思っていたので、そのようなサービスには喜んでお金を払います。
それで検索しましたが、満足のいくものは見つかりませんでした。Heroku Postgresとmonohqを調べましたが、必要なものではないと思います。
そんなサービスをご存知ですか?
javascript ajax呼び出しからデータを保存および取得できるデータベースサービスを探しています。サーバーの負荷を軽減するには本当に良い方法だと思っていたので、そのようなサービスには喜んでお金を払います。
それで検索しましたが、満足のいくものは見つかりませんでした。Heroku Postgresとmonohqを調べましたが、必要なものではないと思います。
そんなサービスをご存知ですか?
JayStack offers JayStorm, which is a Platform as a Service for JavaScript business apps. This has much more features compared a DB as a service and offers standard-based communication protocols and formats (REST, AJAX, OData, XML, JSON) to consume the data stored in MongoDB. The opensource JayData library is the recommended tool to consume the service from JavaScript.
You are able to access manage data from JavaScript, .NET, Objective-C (iOS), Java (Android), LightSwitch and implement custom server-side business logic in JavaScript. The service can be used in zero-code scenarios as well (creating the DB with point-and-click and open the tables from Office Excel). As the Open Edition is free, you can evaluate the service or run your open-source app without any financial investments :)
I would take a look to JayStack and JayData DEV blogs.
One of the coolest stuff: leaving the Open Edition means the ability to create new apps on a scalable dedicated virtual server.
Querying your endpoint from JavaScript can be achieved using this snippet:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="http://include.jaydata.org/datajs-1.0.3.js"></script>
<script src="http://include.jaydata.org/jaydata.js"></script>
<script src="http://include.jaydata.org/jaydataproviders/oDataProvider.js"></script>
<script>
$data.service('yourServiceUrl', function (contextFactory, contextType) {
var context = contextFactory();
//you can work with this OData context
context.Categories.toArray(function (items) {
console.log(items);
});
});
</script>
</head>
<body></body>
</html>
There are relational DB as a service providers (Windows Azure and database.com), but I haven't tried these from JavaScript.
Disclaimer: I'm member of the development team and want to share the technical details.