Storage in js.io

0 views
Skip to first unread message

Marcus Westin

unread,
Oct 24, 2009, 4:58:26 PM10/24/09
to js.io
There has been some discussion whether or not js.io should expose data
storage - and if so, which type of data storage.

The agreement seems to be that, yes, js.io should expose a data
storage, because precious few interesting applications can be
developed without storage.

So what type of storage? Relational? Key Value pair? Document based?

I think CouchDB seems really awesome - scales horizontally, uses map
reduce to grab/process data (which javascript lends itself to
beautifully) and has a browser implementation of the API for the local
testing environment.

Here's an interesting discussion about why relational in the browser
doesn't make sense: http://blog.vlad1.com/2009/04/06/html5-web-storage-and-sql/

And then some info on couch in the browser and couch db:
http://hg.toolness.com/browser-couch/raw-file/blog-post/tutorial.html
http://hg.toolness.com/browser-couch/raw-file/blog-post/index.html#js/browser-couch.js

GWBasic

unread,
Oct 26, 2009, 2:51:38 PM10/26/09
to js.io
Hi,

I'm in the process of releasing a server that exposes a few different
data storage APIs to the browser. It has an AJAX API that's
automatically wrapped in Javascript

The thing about exposing data storage is that there's no good 1-size-
fits-all approach. Sometimes you can get away with merely serializing
to JSON and shoving everything into a text file, and other times you
need something more complicated. I have "document," name-value pairs,
relational, and I also have a system to allow for server-side
javascript when it becomes impossible to have proper security without
some kind of server-side logic.

I will have a release sometime this week once a few licensing issues
get worked out.

For now:
htttp://objectcloud.com

And, the documentation is at:
http://objectcloud.kicks-ass.net/Docs/about.page
> And then some info on couch in the browser and couch db:http://hg.toolness.com/browser-couch/raw-file/blog-post/tutorial.htmlhttp://hg.toolness.com/browser-couch/raw-file/blog-post/index.html#js...

Marcus Westin

unread,
Oct 26, 2009, 4:44:43 PM10/26/09
to js...@googlegroups.com
Good stuff! Can't wait to see it!

GWBasic

unread,
Oct 30, 2009, 2:10:11 PM10/30/09
to js.io
Ok, it's released:

http://objectcloud.com

And please, keep in mind that this is very alpha.
> >http://hg.toolness.com/browser-couch/raw-file/blog-post/tutorial.html....
> > ..
Reply all
Reply to author
Forward
0 new messages