jomido / framework0

experimentation with ECS, vdom, stampit, typing, ...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Double you, eye - pea.

Expected phases:

  1. implement an entity component system (ECS) (or CES).
  2. see if an ECS + tradtional game loop is sufficient for these types of UI components (in order): logic, layout, looks. (inspiration: cycle.js, gamedev, PLC's)
  3. map entity-component-values to DOM element-attribute-values. (inspiration: a-frame)
  4. reverse the map from 3 (vDOM). (inspiration: react, inferno, snabbdom)
  5. if necessary, write a webpack loader to polish final syntax/api (hopefully not necessary)

Goals:

  1. data-driven
  2. immutable
  3. composable
  4. decomposable[1]

[1] Might be the wrong term; but the ability to easily take a thing and break it apart into smaller pieces. Or, the way things must be formed makes unforming easy.

Notes:

  1. consider tcomb instead of typing via symbols
  2. for perf, consider mori instead of merge-deep

About

experimentation with ECS, vdom, stampit, typing, ...


Languages

Language:JavaScript 100.0%