Giter VIP home page Giter VIP logo

nukr's People

Contributors

ysads avatar

nukr's Issues

Create type of connection

This would make connections more qualified, since they can have their own attributes, and maybe be qualitatively described. This allows, for example, a user to have connections which describe friends, family, people they know and etc.

This would also include a new namespace nukr.entities.connection which would hold a Connection record.

Also, a new route would be necessary: GET /profiles/:uuid/connections, which would respond with a collection of connection objects a given profile has, grouped by their type attribute.

Turn connections into directional edges

This is intended to make connections more versatile, by allowing them to be directional and assymetric. That is, if A is connected to B, not necessarely B is connected to A - sort of like how Twitter works.

Namespace entities within InMemoryStorage component

I think of handling the storage records much like Datomic do: user must specify under which entity a given record will be inserted.

This makes possible for the component to handle different entities under the same storage adapter - for example, connections and profiles -, which makes it behave like a normal database.

Two approaches may be considered when implementing this:

  • Insert the records under a second-level-deep key, in such a way that the first-level key is the entity name.
  • Insert into a custom entity key into the record map, containing the entity name. This doesn't allow a constant-time finding if we want to restrict our search to a given entity, but rather makes it trivial finding to which entity a record belongs.

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.