yohang / Finite

A Simple PHP Finite State Machine
http://yohan.giarel.li/Finite
MIT License
1.31k stars 187 forks source link

Proposal of tools arround Finite #44

Open jjsaunier opened 10 years ago

jjsaunier commented 10 years ago

Do you think it would be nice to provide a system for testing the worflow predetermined by finite ? Some people respond that there Behat to do , but it is not really made ​​for that. Tested individually throughout a workflow by checking step by step can be really nice and valuable IMO . What use case ? Communicated easily with non-technical parties to the project, client and other involved parts of project.

Another thing that would be nice, would provide a graphical tool for simple displays, viewable in the symfony web profiler, or for non symfony project, generate html file with the graphical representation of each workflow. What use case ? Quickly and easily communicate with new developers or external developers , so with this general view can easily understand how the system operates and how it will feel knowing how to achieve each step. Other use case, extract technical documentation about the workflow directly, without write it (because it's painful !)

If another person sees a real interest in one of it's ideas (which requires a lot of development) I'd love to contribute to it by adding these tools around Finite.

fazae commented 10 years ago

have a look at Zeta components.

It is not maintained anymore, but there is some good ideas.

http://zetacomponents.org/documentation/trunk/Workflow/tutorial.html

There is a graph generator : http://zetacomponents.org/documentation/trunk/Workflow/tutorial.html#visualizing-a-workflow-using-graphviz

This lib used to be in Apache fondation, but now it is in github : https://github.com/apache/zetacomponents

https://github.com/apache/zetacomponents/tree/trunk/Workflow https://github.com/apache/zetacomponents/tree/trunk/WorkflowDatabaseTiein https://github.com/apache/zetacomponents/tree/trunk/WorkflowEventLogTiein https://github.com/apache/zetacomponents/tree/trunk/WorkflowSignalSlotTiein

fazae commented 10 years ago

there is a talk about this here : https://github.com/yohang/Finite/issues/16

winzou commented 10 years ago

Totally in favor of such testing/visualization tools!

jjsaunier commented 10 years ago

@fazae oh Nice ! I didn't saw the issue ! Very interesting. Ty @fazae for the référence.


De : fazae Envoyé : 08/05/2014 06:57 À : yohang/Finite Cc : Johann Saunier Objet : Re: [Finite] Proposal of tools arround Finite (#44)

there is a talk about this here : https://github.com/yohang/Finite/issues/16


Reply to this email directly or view it on GitHub: https://github.com/yohang/Finite/issues/44#issuecomment-42513378

yohang commented 10 years ago

I'm lacking of time for this kind of feature, but sure! It's planned, and a must-have.