Author Topic: Javascript database  (Read 3439 times)

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Javascript database
« on: September 20, 2012, 04:44:33 PM »
http://www.taffydb.com/

Looks interesting

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Javascript database
« Reply #1 on: September 20, 2012, 04:49:08 PM »
Very clean and efficient looking.
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Perspective

  • badfish
  • Jackass In Charge
  • Posts: 4635
  • Karma: +64/-22
    • http://jeff.bagu.org
Re: Javascript database
« Reply #2 on: September 20, 2012, 07:46:10 PM »
Reminds me a little of Linq. I wonder if they internally create indices (or indexes for my American friends). That's tricky without knowing the workload. You don't win anything by doing a linear scan for search, but if you index every attribute and I use it for a lot of inserts and deletes it's gonna be slow.

ober

  • Ashton Shagger
  • Ass Wipe
  • Posts: 14305
  • Karma: +73/-790
  • mini-ober is taking over
    • Windy Hill Web Solutions
Re: Javascript database
« Reply #3 on: September 20, 2012, 08:32:30 PM »
But....... why?  I am trying to think of a logical use-case but the only thing I can think of is some sort of client-side editor that would eventually save back to an actual database.

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Javascript database
« Reply #4 on: September 20, 2012, 08:38:47 PM »
The use case I'm thinking off is an interactive page where it isn't saving the data but you still want an easy way to query information.  Also, where the data set is relatively small.  Was thinking of doing a GW2 crafting look up page with this.

Perspective

  • badfish
  • Jackass In Charge
  • Posts: 4635
  • Karma: +64/-22
    • http://jeff.bagu.org
Re: Javascript database
« Reply #5 on: September 24, 2012, 11:34:05 AM »
>Also, where the data set is relatively small.

Or the result of an initial query is small and you want to allow client-side query refinement.

micah

  • A real person, on the Internet.
  • Ass Wipe
  • Posts: 6915
  • Karma: +58/-55
  • Truth cannot contradict truth.
    • micahj.com
Re: Javascript database
« Reply #6 on: September 24, 2012, 01:29:30 PM »
how small are you thinking when you say "relatively" small. i was thinking a good application for this would be offline browser-based apps that sync when connected to the internet, or, depending on the purpose of the app, having pre-installed data.
"I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.  I use it to look at pictures of cats and get in arguments with strangers."

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Javascript database
« Reply #7 on: September 24, 2012, 01:35:47 PM »
I don't know, I'd probably have to test it.  I'd also have to see what most browsers put as a memory limit for javascript.

webwhy

  • Jackass IV
  • Posts: 608
  • Karma: +15/-10
Re: Javascript database
« Reply #8 on: September 24, 2012, 01:39:38 PM »
Quote
I'd also have to see what most browsers put as a memory limit for javascript.

Is there a limit?  It seems like my browser (Chrome/Webkit) is allowed to grab all of the memory it wants to use.  I'd be interested in hearing what you discover.

Mike

  • Jackass In Charge
  • Posts: 11248
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Javascript database
« Reply #9 on: September 24, 2012, 02:43:23 PM »
I would HOPE there is a limit but I've never tested for it.