Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.
/ formula Public archive

Trying to create a new form engine based on observables

Notifications You must be signed in to change notification settings

ch1ller0/formula

Repository files navigation

What is that?

Engine for creating forms with business-logic based on Observable pattern

Storybook available here: https://formula-master.surge.sh

Status

This is a proof-of-concept form engine, based on several conceptions and ideas. It should not be used as a production-ready framework.

Conceptions

  • Dependency Injection pattern is used
  • A provider is a reusable singletone of a logic that has its own dependencies
  • Provider`s state should be used in a read-only manner by other providers (and other parts of a program)
  • Instead of a big all-in-one-data-key-value-store a provider-atom is used to make all the providers as modular as possible
  • Provider incapsulates all the logic and state changes inside itself and provides public methods to other parts of the program
  • View elements should be as stupid as possible, putting all the useful work to a provider
  • The correct way to listen to the changes occuring is a Reactive Programming paradigm. EventEmitter-based feature providers are considered harmful - rxjs is used instead

Development

yarn 
yarn storybook

Architecture

  • TODO

About

Trying to create a new form engine based on observables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published