BPMN vs Flow Based Programming





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















Short Question



Can flow based programming replace what BPMNs do? Or are they different tools for different circumstances. If so examples would be great. thanks.





Longer Story



Lately I've been trying to create a BPMN implementation in Javascript. In the old days, I would use Camunda on Java, now I wanted to experiment with something new. The reason I'm turning to BPMN is because the logic of the code would be so complicated, it'll be easier maintained and edited with a visual representation.



BPMN on javascript: I came across https://www.npmjs.com/package/bpmn which does that I wanted, but upon testing seems to be not asynchronous when running a parallel gate. Also the weekly download count was 26 (very low).



Flow: Further research revealed Flow Based Programming which allows me to draw flow diagrams to build a working application. Such as Node-Red, Slang, NoFlow. And also seems to be asynchronous.



Questions around Flow Based Programming: With FBP it seems to be asynchronous, and has a nice diagram representation of the logic and can be maintained. I looked into it, getting more and more confused as I go since there's so much implementations of FBP and some are provided and tied to 3rd party vendors (ie: https://developer.getflow.com/). And a lot of them are being advertised for use with IoT.
Would I be able to use it integrated as part of a larger application with out any runtime 3rd party dependencies? Can I use it the same way I use Camunda BPMN in java?



References:
Flow Based Programming
https://www.quora.com/Will-visual-flowchart-programming-be-better-than-coding
https://en.wikipedia.org/wiki/Flow-based_programming










share|improve this question





























    3















    Short Question



    Can flow based programming replace what BPMNs do? Or are they different tools for different circumstances. If so examples would be great. thanks.





    Longer Story



    Lately I've been trying to create a BPMN implementation in Javascript. In the old days, I would use Camunda on Java, now I wanted to experiment with something new. The reason I'm turning to BPMN is because the logic of the code would be so complicated, it'll be easier maintained and edited with a visual representation.



    BPMN on javascript: I came across https://www.npmjs.com/package/bpmn which does that I wanted, but upon testing seems to be not asynchronous when running a parallel gate. Also the weekly download count was 26 (very low).



    Flow: Further research revealed Flow Based Programming which allows me to draw flow diagrams to build a working application. Such as Node-Red, Slang, NoFlow. And also seems to be asynchronous.



    Questions around Flow Based Programming: With FBP it seems to be asynchronous, and has a nice diagram representation of the logic and can be maintained. I looked into it, getting more and more confused as I go since there's so much implementations of FBP and some are provided and tied to 3rd party vendors (ie: https://developer.getflow.com/). And a lot of them are being advertised for use with IoT.
    Would I be able to use it integrated as part of a larger application with out any runtime 3rd party dependencies? Can I use it the same way I use Camunda BPMN in java?



    References:
    Flow Based Programming
    https://www.quora.com/Will-visual-flowchart-programming-be-better-than-coding
    https://en.wikipedia.org/wiki/Flow-based_programming










    share|improve this question

























      3












      3








      3


      1






      Short Question



      Can flow based programming replace what BPMNs do? Or are they different tools for different circumstances. If so examples would be great. thanks.





      Longer Story



      Lately I've been trying to create a BPMN implementation in Javascript. In the old days, I would use Camunda on Java, now I wanted to experiment with something new. The reason I'm turning to BPMN is because the logic of the code would be so complicated, it'll be easier maintained and edited with a visual representation.



      BPMN on javascript: I came across https://www.npmjs.com/package/bpmn which does that I wanted, but upon testing seems to be not asynchronous when running a parallel gate. Also the weekly download count was 26 (very low).



      Flow: Further research revealed Flow Based Programming which allows me to draw flow diagrams to build a working application. Such as Node-Red, Slang, NoFlow. And also seems to be asynchronous.



      Questions around Flow Based Programming: With FBP it seems to be asynchronous, and has a nice diagram representation of the logic and can be maintained. I looked into it, getting more and more confused as I go since there's so much implementations of FBP and some are provided and tied to 3rd party vendors (ie: https://developer.getflow.com/). And a lot of them are being advertised for use with IoT.
      Would I be able to use it integrated as part of a larger application with out any runtime 3rd party dependencies? Can I use it the same way I use Camunda BPMN in java?



      References:
      Flow Based Programming
      https://www.quora.com/Will-visual-flowchart-programming-be-better-than-coding
      https://en.wikipedia.org/wiki/Flow-based_programming










      share|improve this question














      Short Question



      Can flow based programming replace what BPMNs do? Or are they different tools for different circumstances. If so examples would be great. thanks.





      Longer Story



      Lately I've been trying to create a BPMN implementation in Javascript. In the old days, I would use Camunda on Java, now I wanted to experiment with something new. The reason I'm turning to BPMN is because the logic of the code would be so complicated, it'll be easier maintained and edited with a visual representation.



      BPMN on javascript: I came across https://www.npmjs.com/package/bpmn which does that I wanted, but upon testing seems to be not asynchronous when running a parallel gate. Also the weekly download count was 26 (very low).



      Flow: Further research revealed Flow Based Programming which allows me to draw flow diagrams to build a working application. Such as Node-Red, Slang, NoFlow. And also seems to be asynchronous.



      Questions around Flow Based Programming: With FBP it seems to be asynchronous, and has a nice diagram representation of the logic and can be maintained. I looked into it, getting more and more confused as I go since there's so much implementations of FBP and some are provided and tied to 3rd party vendors (ie: https://developer.getflow.com/). And a lot of them are being advertised for use with IoT.
      Would I be able to use it integrated as part of a larger application with out any runtime 3rd party dependencies? Can I use it the same way I use Camunda BPMN in java?



      References:
      Flow Based Programming
      https://www.quora.com/Will-visual-flowchart-programming-be-better-than-coding
      https://en.wikipedia.org/wiki/Flow-based_programming







      javascript node.js bpmn camunda flow-based-programming






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 27 '18 at 2:59









      JackDevJackDev

      5,96593961




      5,96593961
























          1 Answer
          1






          active

          oldest

          votes


















          0














          After going through NoFlo (https://noflojs.org/) with it's IDE (FlowHub/NoFlo-UI), and also NodeRed (https://nodered.org/). I'm starting to get the sense that Flow Based Programming (FBP) is more like an alternative to programming and is more granular compared to BPMN.



          An example of this is say this tutorial of NodeRed (https://www.youtube.com/watch?v=f5o4tIz2Zzc) where the host takes us through how to build an App that reads from Twitter and saves it to the database. With the NodeRed server running at the back all the programming is is just the graph you see and all the configurations embedded, and the nodes of the graph are things like reading from twitter, formats input, print output, save to database etc.



          Where as I find BPMN is more high level and abstract, it may combine say 'read, format and print twitter articles' into one activity, and the details to be implemented by the underlying class the activity calls.



          Having said that, I find there's still a level of blur, since it's also possible to add function nodes in nodeRed or customise own node in noflo where it can do a bunch of things through programming language.



          More feedback appreciated.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53939272%2fbpmn-vs-flow-based-programming%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After going through NoFlo (https://noflojs.org/) with it's IDE (FlowHub/NoFlo-UI), and also NodeRed (https://nodered.org/). I'm starting to get the sense that Flow Based Programming (FBP) is more like an alternative to programming and is more granular compared to BPMN.



            An example of this is say this tutorial of NodeRed (https://www.youtube.com/watch?v=f5o4tIz2Zzc) where the host takes us through how to build an App that reads from Twitter and saves it to the database. With the NodeRed server running at the back all the programming is is just the graph you see and all the configurations embedded, and the nodes of the graph are things like reading from twitter, formats input, print output, save to database etc.



            Where as I find BPMN is more high level and abstract, it may combine say 'read, format and print twitter articles' into one activity, and the details to be implemented by the underlying class the activity calls.



            Having said that, I find there's still a level of blur, since it's also possible to add function nodes in nodeRed or customise own node in noflo where it can do a bunch of things through programming language.



            More feedback appreciated.






            share|improve this answer




























              0














              After going through NoFlo (https://noflojs.org/) with it's IDE (FlowHub/NoFlo-UI), and also NodeRed (https://nodered.org/). I'm starting to get the sense that Flow Based Programming (FBP) is more like an alternative to programming and is more granular compared to BPMN.



              An example of this is say this tutorial of NodeRed (https://www.youtube.com/watch?v=f5o4tIz2Zzc) where the host takes us through how to build an App that reads from Twitter and saves it to the database. With the NodeRed server running at the back all the programming is is just the graph you see and all the configurations embedded, and the nodes of the graph are things like reading from twitter, formats input, print output, save to database etc.



              Where as I find BPMN is more high level and abstract, it may combine say 'read, format and print twitter articles' into one activity, and the details to be implemented by the underlying class the activity calls.



              Having said that, I find there's still a level of blur, since it's also possible to add function nodes in nodeRed or customise own node in noflo where it can do a bunch of things through programming language.



              More feedback appreciated.






              share|improve this answer


























                0












                0








                0







                After going through NoFlo (https://noflojs.org/) with it's IDE (FlowHub/NoFlo-UI), and also NodeRed (https://nodered.org/). I'm starting to get the sense that Flow Based Programming (FBP) is more like an alternative to programming and is more granular compared to BPMN.



                An example of this is say this tutorial of NodeRed (https://www.youtube.com/watch?v=f5o4tIz2Zzc) where the host takes us through how to build an App that reads from Twitter and saves it to the database. With the NodeRed server running at the back all the programming is is just the graph you see and all the configurations embedded, and the nodes of the graph are things like reading from twitter, formats input, print output, save to database etc.



                Where as I find BPMN is more high level and abstract, it may combine say 'read, format and print twitter articles' into one activity, and the details to be implemented by the underlying class the activity calls.



                Having said that, I find there's still a level of blur, since it's also possible to add function nodes in nodeRed or customise own node in noflo where it can do a bunch of things through programming language.



                More feedback appreciated.






                share|improve this answer













                After going through NoFlo (https://noflojs.org/) with it's IDE (FlowHub/NoFlo-UI), and also NodeRed (https://nodered.org/). I'm starting to get the sense that Flow Based Programming (FBP) is more like an alternative to programming and is more granular compared to BPMN.



                An example of this is say this tutorial of NodeRed (https://www.youtube.com/watch?v=f5o4tIz2Zzc) where the host takes us through how to build an App that reads from Twitter and saves it to the database. With the NodeRed server running at the back all the programming is is just the graph you see and all the configurations embedded, and the nodes of the graph are things like reading from twitter, formats input, print output, save to database etc.



                Where as I find BPMN is more high level and abstract, it may combine say 'read, format and print twitter articles' into one activity, and the details to be implemented by the underlying class the activity calls.



                Having said that, I find there's still a level of blur, since it's also possible to add function nodes in nodeRed or customise own node in noflo where it can do a bunch of things through programming language.



                More feedback appreciated.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 4 at 4:46









                JackDevJackDev

                5,96593961




                5,96593961
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53939272%2fbpmn-vs-flow-based-programming%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Monofisismo

                    Angular Downloading a file using contenturl with Basic Authentication

                    Olmecas