GithubHelp home page GithubHelp logo

liquidflux's Introduction

liquidFlux

early alpha stage

Motivation

There are a lot of flux implementations out there in the wide world of open source, i tried a few, but i wasn't satisfied with one of them.
few of them are overloaded, others doing things in too complicated ways, but most just dont fit in my way of thinking and writing or dont fulfill the requirements of my current projects

so i decided to write my own framework, not only Flux for the frontend, also for the backend and everything needed in between and React-mixin on top
simple, live, fast and open source! ;)

Features

3 Collections, sharing most of the code

chart

Flux Frontend

  • mixin for React
    • listens on Store changes
  • Actions
  • Dispatcher
    • distributes actions to all listening stores
  • Stores
  • Queries
    • caching results
    • triggers Actions
  • API
    • over socket.io
    • handles responses & listens for update

Proxy

  • caches all as 'cacheable' marked responses
  • possible to replicate for speed and reliability
  • delivers cached content without connection to the backend
    • an important requirement for our festival volunteers schedule project, having an relay locally if the mobile connection gets lost
  • communicates to the backend over redis (tcp)

Flux backend (kind of)

  • Routes Requests from redis
  • Middleware
    • input validation
    • access restriction
    • ...
  • Requests trigger Actions
  • Dispatcher
    • can handle Promises from the stores to the Actions
  • Stores
  • contentGenerators for Response

Example

will come soon... ;)

liquidflux's People

Contributors

alangecker avatar

Watchers

 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.