Code Monkey home page Code Monkey logo

joy's People

Contributors

aethiop avatar amark avatar bmatusiak avatar bugs181 avatar dmaevsky avatar i001962 avatar trosel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

joy's Issues

The readme is not very clear about what this project is.

A software bundle for perfectionists with deadlines!

What does that mean? The next thing it says is that I can use it alongside other software (eg React). I assume by the name joydb that this is some kind of database? Whats the purpose? What's the benefits? Why would anyone decide to use it? Please make the readme more clear as to what this project is and why people should care.

Error when namespacing

Hi there, after changing to a namespaced root using the instructions on the readme, I get this error in the console:

TypeError: "input is undefined"
    from https://cdn.jsdelivr.net/npm/joydb/joy.min.js:2380
    fall_verify https://cdn.jsdelivr.net/npm/joydb/joy.min.js:2729
joy.min.js:2700:15
NO! Unverified data. 
Object { "~8VP0UwcvxBStPc30AQ_55RXzZpzth0rS1O8_4pUM91k.TRVWDuKOf5eXlb8y0u95cotB4f7SCJbjv3EuYHE5flc": {…} }
joy.min.js:3511:21
TypeError: "input is undefined"
    from https://cdn.jsdelivr.net/npm/joydb/joy.min.js:2380
    fall_verify https://cdn.jsdelivr.net/npm/joydb/joy.min.js:2729
joy.min.js:2700:15

It appears to be somehow tied to your account, and refuses to work with an unverified root? It works perfectly with name="app".

I've tried clearing local storage, removing my local peer's data files, setting up the page to only consult my local peer, used different user accounts. All the same result.

Feature set for Alpha MVP

Features:

  • Modular (Build your own DB)
  • Pre-built (Use our pre-built code with configuration) - server.js
  • Exposed Query to HTTP, Websockets

Modularity:

  • Config files
  • Schema
  • Default communication adapters (Websocket, HTTP)
  • ACL
  • Built-In and Custom indexing algorithms (linked lists, time based, geospatial, History, etc)
  • Storage

Conceptual:

  • Linked lists use the prev and next iterators via an Index and expose node.prev() and node.next() API
  • History index offers version control, revisions, and rollback support

Details:
JoyDB is a modular first database, this means users have the ability to roll their own database like Legos. The default server.js is for non-devs who want out of the box functionality, custom configuration, and potentially an IDE. Other modular parts include exposing the Query module to communication adapters (like HTTP server, Websockets, etc).


Gossip:

  • Mesh module should allow for data splitting between super peers for enterprise federated setups. To provide authentication between these peers, we use the ACL module with whitelist.
  • Storage has a shouldSave placeholder which can be over-ridden for more fine-grained control over which data to save based on factors.
  • Storage is a higher-order component which exposes APIs for other modules that use it. (like shouldSave)

TODO:

  • Flatten object and detect circular references, creating links between node data

Repost: Open proposal for JoyDB

Repost from the Gun repo: Issue 717

As some of you may know, I've been working on a project called Frame. This library/framework is vendor, host, library, and programming style agnostic. In simple terms it's primary purpose is to be a declarative flow style programming suite.

The library side of the core is about 90% finished with just one known issue that stands in the way of the current implementation proposal for blueprint syntax. Once I've completed that step and implemented several modular components (called Blueprints), I intend to make an Open Source IDE with drag and drop capabilities that allows users to wire up any library/framework/blueprint without writing a single line of code.

My new proposal as discussed with a few other developers, is to use Frame as the primary method of creating the core functionality of JoyDB. Joy core would be composed of several blueprints utilizing the flow aspects of Frame, which would include a Singleton and several other modular parts like Schema, ACLs, and Adapters.

Going forward, I'm asking Gun developers to thoroughly consider this offer and if you support this idea, leave a comment, question, like/love on this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.