开发者

Javascript Object Database

is there any javascript object database??

Something lik开发者_开发知识库e http://www.db4o.com/ but for javascript?

thanks


HTML5 includes an embedded SQL database. You could write a tiny ORM around it to deal only in objects.

Checkout ActiveJS and specifically ActiveRecord. It does not use the HTML5 Web SQL database currently, but has plans on supporting that.

Also a timeless post (no year anywhere), mentions JStorm but I'm not too familiar with it.

Is it needed for client-side, or server-side?


If you are looking for server side object oriented database for JavaScript, you can check http://wakandadb.org/ They have complete end-to-end solution for web / mobile development using JS as complete stack, check that at http://www.wakanda.org/

Wakanda is good NoSQL JS object database, but it might not be good for cloud based apps that need to soon scale out. Scaling out with will be an issues, which is a plus point with MongoDB, Cassandra or CouchDB kind of databases, but these data bases are not object-oriented, most of them are simply JSON stores.


Take a look at IndexedDB. They refer to it as an "object store" all the time, and I think it can store arbitrary objects. Don't use WebSQL since it is now discontinued and doesn't support all JavaScript objects. See also Wikipedia article.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜