0xgeert / Canonical

Chorio - Datalayer as a service
0 stars 0 forks source link

Declarative Business Logic - Seperate project: rulez.io #8

Open 0xgeert opened 11 years ago

0xgeert commented 11 years ago

Similar to #7 (discussing controllers), would it be possible to have declarative business logic? Especailly when we have a notion of a declarative workflow a lot should be possible. (where leaf-nodes should result on repo-actions)

e.g: the following should be possible:

0xgeert commented 11 years ago

Some 'halfway there' thoughts:

0xgeert commented 11 years ago

Rule engines in node:

0xgeert commented 11 years ago

STANDARD: DROOLS from JBOSS (JAVA) http://www.jboss.org/drools/

0xgeert commented 11 years ago

More general: workflow implementations in NODE

If you are building a completely new system composed of many discrete API applications, each of them with a clearly defined area of responsibility, or if you are trying to assemble a collaboration channel between a heterogeneous set of unrelated API applications, you need a means to orchestrate interactions between these applications.

i.e: fsm for business logic?

0xgeert commented 10 years ago

Related projects: https://github.com/cucumber/cucumber

and a DSL for cucumber: https://github.com/cucumber/cucumber/wiki/Gherkin (specifycing logic)