allcount / allcountjs

Rapid application development framework for Node.js
http://allcountjs.com
MIT License
402 stars 83 forks source link

business logic #13

Open henry-hz opened 9 years ago

henry-hz commented 9 years ago

Dear Supporters,

before all, I would like to say that this framework is a state of the art software. I have a good idea on how to include business logic, instead of using complex BPM processes, for RAD, a simple state machine could handle all the processes states. Below two of them: https://github.com/jakesgordon/javascript-state-machine http://machina-js.org/

An introduction on how to use FSM in business

http://www.shopify.com/technology/3383012-why-developers-should-be-force-fed-state-machines

In future works, think on how beautiful would be a data-analytics plugin, like kibana, to track and monitor all the transitions.

paveltiunov commented 9 years ago

Hello Henry! Thank you for your great feedback! It's nice idea. I thought about status workflow model for AllcountJS as FSM too: status entity field that allows to define states and transitions. If you're willing to implement such feature we're open for contributions. Either way it's on our road map. Data analytics is on our road map too. And not only to monitor transitions but any events that occur in application. By the way there is already tracking API extension. It could be used to integrate with external analytics service such as Keen IO, Mixpanel, etc.