Pedro Luz
Pedro Luz

Reputation: 2772

Javascript Object Database

is there any javascript object database??

Something like http://www.db4o.com/ but for javascript?

thanks

Upvotes: 4

Views: 4233

Answers (3)

Gaurav Dhiman
Gaurav Dhiman

Reputation: 610

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.

Upvotes: 1

Janus Troelsen
Janus Troelsen

Reputation: 21270

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.

Upvotes: 0

Anurag
Anurag

Reputation: 141869

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?

Upvotes: 1

Related Questions