Code Monkey home page Code Monkey logo

q's Introduction

Q

Test project, splitted up into 2 repos: front-end and back-end. Both are deployed to Heroku and available at http://qlient.herokuapp.com/.

What`s all this about?

The goal of project is to create custom key-value collection type, and provide a web interface to store data within such collection. It also must must provide the ability to get live updates, whenever collection changes its state.

Collection

Such collection is implemented as a list of tuples, where first element represents key and second represents value -> Q.Collection. This looks pretty much the same as Keyword, with the exception that only atoms are allowed to use as keys in Keyword, whereas custom allows use of any data type, even nil and references. Of course, such collection is nowhere near the performance of traditional Map and Keyword, but that's not the case of the project.

State Container

The internal state of application is represented by Q.StateStore, and whenever any of create, update or delete operations performed, it fires corresponding EventBus event.

WebSockets API

Web interface is implemented via Phoenix.Channels, and among common Create, Read, Update, Delete operations, it also processes and forwards Q.StateStore events to all subscribers.

q's People

Contributors

echoes93 avatar

Stargazers

Sviatoslav Flud avatar

Watchers

James Cloos avatar  avatar

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.