Rasta.js

Dev tools

javascript key-value store

SHOW HN2011

Rasta.js

Rasta.js, anonymous domainless key-value store for frontend JavaScript

rastajs.errorjs.com

#key-value store#javascript#jsonp#frontend storage

73points
39comments
#165of 1,097 in 2011
Top 16%of 2011 by points

How HN took it

CuriousMostly questions and neutral comments

4 positive, 15 neutral or asking, 1 mixed, 6 critical, out of 26 comments about the project. Thread score -0.03.

Idea: 4 for, 3 againstPrivacy: 0 for, 2 againstDesign: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful for quick prototyping

    From 2 comments
    • I guess I could see some usefulness in a quick weekend prototyping to get a persistent app up and running.
      guptaneil on HN
    • awesome! like someone else said, this is a great tool for prototyping, and likely other projects. tinydb is pretty cool as well. http://tinydb.org/
      catshirt on HN

Objections

  • Anyone can read or overwrite any key

    From 2 comments
    • Unless there is something I don't understand, how can this even be slightly reliable or useful, when everyone can read any key and write or replace any key at any moment ?
      HoLyVieR on HN
    • And also replace a value with normal, arbitrary javascript... Still, neat idea.
      NHQ on HN
  • localStorage already covers this use case

    From 1 comment
    • but then why would this be better than, say, localStorage, which is local? The only purpose to this is semi-persistent cross-domain information storage. It's crazy to use an…
      Groxx on HN
  • Relies on a remote server the maker runs

    From 1 comment
    • I looked at the code, and what this does is to make calls to a web api on the errorjs.com domain. It sets a key using: http://rastajs.errorjs.com/set/yourkey/yourvalue And…
      lars on HN
  • Keys share a single global namespace

    From 1 comment
    • It would be a heck of a lot more useful if it were namespaced, like S3's buckets. Let folks put into those buckets whatever they want, but make the buckets in your datastore…
      moonlighter on HN

Requests

  • Namespacing keys into buckets

    From 1 comment
    • It would be a heck of a lot more useful if it were namespaced, like S3's buckets. Let folks put into those buckets whatever they want, but make the buckets in your datastore…
      moonlighter on HN
  • Clearer documentation of what it does

    From 2 comments
    • I guess I am not geek enough, but the description for this is SOOO opaque. I have no idea what this does - and I am a web developer! Can someone explain, in simple English, what…
      marcamillion on HN
    • I looked at the code, and what this does is to make calls to a web api on the errorjs.com domain. It sets a key using: http://rastajs.errorjs.com/set/yourkey/yourvalue And…
      lars on HN
  • Use POST for set

    From 1 comment
    • Would it make sense for "set" to be a POST? Or does that compromise "easy"?
      pbreit on HN

Questions

  • Why it was built and what it is for

    From 2 comments
    • what are you using it for? still don't really get it...
      netlemurde on HN
    • If you want to demonstrate some cross-browser communication app? I agree, this has a very limited application scope. I am more confused as to why the author made it when he…
      guptaneil on HN
  • Where data is stored

    From 1 comment
    • I think he meant - physically, HOW does this work. As in, where is the data stored and how?
      josscrowcroft on HN

Alternatives named

  • openkeyval

    From 1 comment
    • You might want to look at http://openkeyval.org if you weren't aware of it. Exact same idea. (HN discussion: http://news.ycombinator.com/item?id=1846088)
      bouncingsoul on HN
  • localStorage and cookies

    From 1 comment
    • but then why would this be better than, say, localStorage, which is local? The only purpose to this is semi-persistent cross-domain information storage. It's crazy to use an…
      Groxx on HN
  • TinyDB

    From 1 comment
    • awesome! like someone else said, this is a great tool for prototyping, and likely other projects. tinydb is pretty cool as well. http://tinydb.org/
      catshirt on HN
  • CouchDB

    From 1 comment
    • you might be able to replace the server with just CouchDB configured to allow JSONP... Then users can just sign up at something like http://iriscouch.com to install a copy of…
      jchrisa on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/2909556)