winky / phenyl

JavaScript Server/Client framework to SSoE (State Synchronization over Environments)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phenyl - State Synchronization over Environments CircleCI

WORK IN PROGRESS

Phenyl is a series of JavaScript libraries for both client-side and server-side, focusing on State Synchronization over Environments(SSoE).

ServerSide Phenyl provides an API server like MBaaS(Mobile Backend as a server). ClientSide Phenyl provides Redux module system. These two environments, State are Synchronized by various ways.

State Synchronization over Environments (SSoE)

TBD

State is one big JSON

TBD

OAD: Operations As Data

TBD

MongoDB-like operations

TBD

Git-like synchronization

TBD

Phenyl Family

ServerSide Libraries

ClientSide Libraries

Common Libraries

OAD Libraries

Usage

ServerSide

// @flow
import PhenylHttpServer from 'phenyl-http-server/jsnext'
import PhenylRestApi from 'phenyl-rest-api/jsnext'
import { connect, createEntityClient } from 'phenyl-mongodb/jsnext'

const connection = await connect('mongodb://localhost:12345')

const client = createEntityClient(connection)
const phenylRestApi = new PhenylRestApi({ client })
const server = new PhenylHttpServer(http.createServer(), { restApiHandler: phenylRestApi })
server.listen(8080)

ClientSide

TBD

License

Apache License 2.0

About

JavaScript Server/Client framework to SSoE (State Synchronization over Environments)

License:Apache License 2.0


Languages

Language:JavaScript 99.2%Language:HTML 0.4%Language:Shell 0.3%Language:CSS 0.1%