Skip to content

Commit

Permalink
deploy: 2ea00d2
Browse files Browse the repository at this point in the history
  • Loading branch information
matyo91 committed Apr 14, 2024
1 parent 53561e9 commit b204593
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
Getting Started</button><div class="collapse show" id=section-getting-started><ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small"><li><a class="docs-link rounded" href=/flow/docs/getting-started/introduction/>Introduction</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/flow/>Flow</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/driver/>Driver</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ip-strategy/>Ip Strategy</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ressources/>Ressources</a></li><li><a class="docs-link rounded active" href=/flow/docs/getting-started/changelog/>Changelog</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/license/>License</a></li></ul></div></li></ul></nav></div><nav class="docs-toc d-none d-xl-block col-xl-3" aria-label="Secondary navigation"><div class=page-links><h3>On this page</h3><nav id=TableOfContents></nav></div></nav><main class="docs-content col-lg-11 col-xl-9"><nav class=d-xl-none aria-label="Quaternary navigation"><div class=page-links><h3>On this page</h3><nav id=TableOfContents></nav></div></nav><h1 id=changelog>Changelog</h1><p>Changelog can be found <a href=https://github.com/darkwood-fr/flow/blob/1.x/CHANGELOG.md>https://github.com/darkwood-fr/flow/blob/1.x/CHANGELOG.md</a></p><p class=edit-page><a href=https://github.com/darkwood-fr/flow/blob/1.x/docs/src/content/en/docs/getting-started/changelog.md><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828.0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>Edit this page on GitHub</a></p><div class="docs-navigation d-flex justify-content-between"><a href=/flow/docs/getting-started/ressources/><div class="card my-1"><div class="card-body py-2">&larr; Ressources</div></div></a><a class=ms-auto href=/flow/docs/getting-started/license/><div class="card my-1"><div class="card-body py-2">License &rarr;</div></div></a></div></main></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by <a href=https://pages.github.com/>Github Pages</a>, <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a></li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=/flow/js/bootstrap.min.513fce1dfae87267cca476dda718dc7674a21c0609206d80048824106139fbcc0a4ed3d66cb8fc5e133c332cd49d1e7ea233bf036cfcdb7b4314729df0b7b092.js integrity="sha512-UT/OHfrocmfMpHbdpxjcdnSiHAYJIG2ABIgkEGE5+8wKTtPWbLj8XhM8MyzUnR5+ojO/A2z823tDFHKd8Lewkg==" crossorigin=anonymous defer></script>
<script src=/flow/js/highlight.min.c565a9951785c79831366153c86d93484247367ad5eaa7017d023339ab77ad97b493f24d92105075c8d441b21d7f6fe391a7b2ba31c61facdf0a42aa20038c5e.js integrity="sha512-xWWplReFx5gxNmFTyG2TSEJHNnrV6qcBfQIzOat3rZe0k/JNkhBQdcjUQbIdf2/jkaeyujHGH6zfCkKqIAOMXg==" crossorigin=anonymous defer></script>
<script src=/flow/main.min.c086d33238dc54cf1d61e0b9465ab03007b53cabc3af35b0329e5490d273201c09c740fb12c138626dfaa4e569f3a7f436ea8ef86c32ebb2fdf13756c2e831c1.js integrity="sha512-wIbTMjjcVM8dYeC5RlqwMAe1PKvDrzWwMp5UkNJzIBwJx0D7EsE4Ym36pOVp86f0NuqO+Gwy67L98TdWwugxwQ==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.30a02c1fd697b5a1fd3a02af6ec56bf4b7510d72941b30dd07d63731c270c203e891dd504255c2457d92da689c569ec168202fb9818bbdf6f69ef0e9059e4e93.js integrity="sha512-MKAsH9aXtaH9OgKvbsVr9LdRDXKUGzDdB9Y3McJwwgPokd1QQlXCRX2S2micVp7BaCAvuYGLvfb2nvDpBZ5Okw==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.5a0fd019a8915330cb81ee1ec8ce29216edfb9fa572fd4a0d403a066e8f4703f8f86e1b86e7a5ccce3cd2205e9d0046245e6e31f6d26cd8a67c3ae8ae2c0fed1.js integrity="sha512-Wg/QGaiRUzDLge4eyM4pIW7fufpXL9Sg1AOgZuj0cD+PhuG4bnpczOPNIgXp0ARiRebjH20mzYpnw66K4sD+0Q==" crossorigin=anonymous defer></script>
<script>var _paq=window._paq=window._paq||[];_paq.push(['trackPageView']),_paq.push(['enableLinkTracking']),function(){var b="//stats.darkwood.fr/",c,a,d;_paq.push(['setTrackerUrl',b+'matomo.php']),_paq.push(['setSiteId','3']),c=document,a=c.createElement('script'),d=c.getElementsByTagName('script')[0],a.async=!0,a.src=b+'matomo.js',d.parentNode.insertBefore(a,d)}()</script></body></html>
9 changes: 5 additions & 4 deletions docs/getting-started/driver/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/getting-started/flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
Getting Started</button><div class="collapse show" id=section-getting-started><ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small"><li><a class="docs-link rounded" href=/flow/docs/getting-started/introduction/>Introduction</a></li><li><a class="docs-link rounded active" href=/flow/docs/getting-started/flow/>Flow</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/driver/>Driver</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ip-strategy/>Ip Strategy</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ressources/>Ressources</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/changelog/>Changelog</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/license/>License</a></li></ul></div></li></ul></nav></div><nav class="docs-toc d-none d-xl-block col-xl-3" aria-label="Secondary navigation"><div class=page-links><h3>On this page</h3><nav id=TableOfContents><ul><li><a href=#flow-implementation>Flow implementation</a></li><li><a href=#flow-1>Flow</a></li><li><a href=#flowdecorator>FlowDecorator</a></li><li><a href=#transportflow>TransportFlow</a></li><li><a href=#yflow>YFlow</a></li><li><a href=#make-your-own-flow>Make your own Flow</a></li></ul></nav></div></nav><main class="docs-content col-lg-11 col-xl-9"><nav class=d-xl-none aria-label="Quaternary navigation"><div class=page-links><h3>On this page</h3><nav id=TableOfContents><ul><li><a href=#flow-implementation>Flow implementation</a></li><li><a href=#flow-1>Flow</a></li><li><a href=#flowdecorator>FlowDecorator</a></li><li><a href=#transportflow>TransportFlow</a></li><li><a href=#yflow>YFlow</a></li><li><a href=#make-your-own-flow>Make your own Flow</a></li></ul></nav></div></nav><h1 id=flow>Flow</h1><h2 id=flow-implementation>Flow implementation<a href=#flow-implementation class=anchor aria-hidden=true>#</a></h2><p>According to <a href=https://en.wikipedia.org/wiki/Monad_(functional_programming)>Wikipedia</a>, Monads is an abstract generic structure that get its usage in function composition. Monads can shortly considered as <code>Programming with effects</code>.</p><p>We consider <code>Flows</code> as a set of elements in our ensemble as a Monad implementation :</p><ul><li>By using <code>job</code> as basic function type within the <code>Flow</code>.</li><li>By using <code>fn</code> as a binary operation, <code>Flow</code> can be composed together with others <code>Flow</code> element.</li></ul><p>A <code>Flow</code> can process one or many <code>Ips</code> which has its application for asynchronous programming when mixing with <a href=drivers.md><code>Drivers</code></a>.</p><h2 id=flow-1>Flow<a href=#flow-1 class=anchor aria-hidden=true>#</a></h2><p>This is the standard Flow implementation that support asynchronous <code>Ip</code> processing.</p><h2 id=flowdecorator>FlowDecorator<a href=#flowdecorator class=anchor aria-hidden=true>#</a></h2><p>This is useful for implementing the <a href=https://en.wikipedia.org/wiki/Decorator_pattern>decorator design pattern</a>.</p><h2 id=transportflow>TransportFlow<a href=#transportflow class=anchor aria-hidden=true>#</a></h2><p>TransportFlow will interact with Flow with Producer and Sender.</p><h2 id=yflow>YFlow<a href=#yflow class=anchor aria-hidden=true>#</a></h2><p>YFlow use YCombinator to provide recursion.</p><h2 id=make-your-own-flow>Make your own Flow<a href=#make-your-own-flow class=anchor aria-hidden=true>#</a></h2><p>You can make your custom Flow by implementing <code>Flow\FlowInterface</code>.</p><p class=edit-page><a href=https://github.com/darkwood-fr/flow/blob/1.x/docs/src/content/en/docs/getting-started/flow.md><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentcolor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-edit-2"><path d="M17 3a2.828 2.828.0 114 4L7.5 20.5 2 22l1.5-5.5L17 3z"/></svg>Edit this page on GitHub</a></p><div class="docs-navigation d-flex justify-content-between"><a href=/flow/docs/getting-started/introduction/><div class="card my-1"><div class="card-body py-2">&larr; Introduction</div></div></a><a class=ms-auto href=/flow/docs/getting-started/driver/><div class="card my-1"><div class="card-body py-2">Driver &rarr;</div></div></a></div></main></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by <a href=https://pages.github.com/>Github Pages</a>, <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a></li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=/flow/js/bootstrap.min.513fce1dfae87267cca476dda718dc7674a21c0609206d80048824106139fbcc0a4ed3d66cb8fc5e133c332cd49d1e7ea233bf036cfcdb7b4314729df0b7b092.js integrity="sha512-UT/OHfrocmfMpHbdpxjcdnSiHAYJIG2ABIgkEGE5+8wKTtPWbLj8XhM8MyzUnR5+ojO/A2z823tDFHKd8Lewkg==" crossorigin=anonymous defer></script>
<script src=/flow/js/highlight.min.c565a9951785c79831366153c86d93484247367ad5eaa7017d023339ab77ad97b493f24d92105075c8d441b21d7f6fe391a7b2ba31c61facdf0a42aa20038c5e.js integrity="sha512-xWWplReFx5gxNmFTyG2TSEJHNnrV6qcBfQIzOat3rZe0k/JNkhBQdcjUQbIdf2/jkaeyujHGH6zfCkKqIAOMXg==" crossorigin=anonymous defer></script>
<script src=/flow/main.min.c086d33238dc54cf1d61e0b9465ab03007b53cabc3af35b0329e5490d273201c09c740fb12c138626dfaa4e569f3a7f436ea8ef86c32ebb2fdf13756c2e831c1.js integrity="sha512-wIbTMjjcVM8dYeC5RlqwMAe1PKvDrzWwMp5UkNJzIBwJx0D7EsE4Ym36pOVp86f0NuqO+Gwy67L98TdWwugxwQ==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.30a02c1fd697b5a1fd3a02af6ec56bf4b7510d72941b30dd07d63731c270c203e891dd504255c2457d92da689c569ec168202fb9818bbdf6f69ef0e9059e4e93.js integrity="sha512-MKAsH9aXtaH9OgKvbsVr9LdRDXKUGzDdB9Y3McJwwgPokd1QQlXCRX2S2micVp7BaCAvuYGLvfb2nvDpBZ5Okw==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.5a0fd019a8915330cb81ee1ec8ce29216edfb9fa572fd4a0d403a066e8f4703f8f86e1b86e7a5ccce3cd2205e9d0046245e6e31f6d26cd8a67c3ae8ae2c0fed1.js integrity="sha512-Wg/QGaiRUzDLge4eyM4pIW7fufpXL9Sg1AOgZuj0cD+PhuG4bnpczOPNIgXp0ARiRebjH20mzYpnw66K4sD+0Q==" crossorigin=anonymous defer></script>
<script>var _paq=window._paq=window._paq||[];_paq.push(['trackPageView']),_paq.push(['enableLinkTracking']),function(){var b="//stats.darkwood.fr/",c,a,d;_paq.push(['setTrackerUrl',b+'matomo.php']),_paq.push(['setSiteId','3']),c=document,a=c.createElement('script'),d=c.getElementsByTagName('script')[0],a.async=!0,a.src=b+'matomo.js',d.parentNode.insertBefore(a,d)}()</script></body></html>
2 changes: 1 addition & 1 deletion docs/getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
Getting Started</button><div class=collapse id=section-getting-started><ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small"><li><a class="docs-link rounded" href=/flow/docs/getting-started/introduction/>Introduction</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/flow/>Flow</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/driver/>Driver</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ip-strategy/>Ip Strategy</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/ressources/>Ressources</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/changelog/>Changelog</a></li><li><a class="docs-link rounded" href=/flow/docs/getting-started/license/>License</a></li></ul></div></li></ul></nav></aside></div><div class="wrap container-xxl" role=document><div class="content align-self-center"><div class="row justify-content-center"><div class="col-md-12 col-lg-10 col-xl-8"><article><h1 class=text-center>Getting Started</h1><div class=text-center></div><div class=card-list><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/introduction/>Introduction &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/flow/>Flow &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/driver/>Driver &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/ip-strategy/>Ip Strategy &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/ressources/>Ressources &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/changelog/>Changelog &rarr;</a></div></div><div class="card my-3"><div class=card-body><a class=stretched-link href=/flow/docs/getting-started/license/>License &rarr;</a></div></div></div></article></div></div></div></div><footer class="footer text-muted"><div class=container-xxl><div class=row><div class="col-lg-8 order-last order-lg-first"><ul class=list-inline><li class=list-inline-item>Powered by <a href=https://pages.github.com/>Github Pages</a>, <a href=https://gohugo.io/>Hugo</a>, and <a href=https://getdoks.org/>Doks</a></li></ul></div><div class="col-lg-8 order-first order-lg-last text-lg-end"><ul class=list-inline></ul></div></div></div></footer><script src=/flow/js/bootstrap.min.513fce1dfae87267cca476dda718dc7674a21c0609206d80048824106139fbcc0a4ed3d66cb8fc5e133c332cd49d1e7ea233bf036cfcdb7b4314729df0b7b092.js integrity="sha512-UT/OHfrocmfMpHbdpxjcdnSiHAYJIG2ABIgkEGE5+8wKTtPWbLj8XhM8MyzUnR5+ojO/A2z823tDFHKd8Lewkg==" crossorigin=anonymous defer></script>
<script src=/flow/js/highlight.min.c565a9951785c79831366153c86d93484247367ad5eaa7017d023339ab77ad97b493f24d92105075c8d441b21d7f6fe391a7b2ba31c61facdf0a42aa20038c5e.js integrity="sha512-xWWplReFx5gxNmFTyG2TSEJHNnrV6qcBfQIzOat3rZe0k/JNkhBQdcjUQbIdf2/jkaeyujHGH6zfCkKqIAOMXg==" crossorigin=anonymous defer></script>
<script src=/flow/main.min.c086d33238dc54cf1d61e0b9465ab03007b53cabc3af35b0329e5490d273201c09c740fb12c138626dfaa4e569f3a7f436ea8ef86c32ebb2fdf13756c2e831c1.js integrity="sha512-wIbTMjjcVM8dYeC5RlqwMAe1PKvDrzWwMp5UkNJzIBwJx0D7EsE4Ym36pOVp86f0NuqO+Gwy67L98TdWwugxwQ==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.30a02c1fd697b5a1fd3a02af6ec56bf4b7510d72941b30dd07d63731c270c203e891dd504255c2457d92da689c569ec168202fb9818bbdf6f69ef0e9059e4e93.js integrity="sha512-MKAsH9aXtaH9OgKvbsVr9LdRDXKUGzDdB9Y3McJwwgPokd1QQlXCRX2S2micVp7BaCAvuYGLvfb2nvDpBZ5Okw==" crossorigin=anonymous defer></script>
<script src=/flow/index.min.5a0fd019a8915330cb81ee1ec8ce29216edfb9fa572fd4a0d403a066e8f4703f8f86e1b86e7a5ccce3cd2205e9d0046245e6e31f6d26cd8a67c3ae8ae2c0fed1.js integrity="sha512-Wg/QGaiRUzDLge4eyM4pIW7fufpXL9Sg1AOgZuj0cD+PhuG4bnpczOPNIgXp0ARiRebjH20mzYpnw66K4sD+0Q==" crossorigin=anonymous defer></script>
<script>var _paq=window._paq=window._paq||[];_paq.push(['trackPageView']),_paq.push(['enableLinkTracking']),function(){var b="//stats.darkwood.fr/",c,a,d;_paq.push(['setTrackerUrl',b+'matomo.php']),_paq.push(['setSiteId','3']),c=document,a=c.createElement('script'),d=c.getElementsByTagName('script')[0],a.async=!0,a.src=b+'matomo.js',d.parentNode.insertBefore(a,d)}()</script></body></html>
6 changes: 2 additions & 4 deletions docs/getting-started/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ composer require darkwood/flow Usage A working script is available in the bundle
Run Flow : php examples/flow.php Start Server : php examples/server.</description></item><item><title>Flow</title><link>https://darkwood-fr.github.io/flow/docs/getting-started/flow/</link><pubDate>Tue, 13 Oct 2020 15:21:01 +0200</pubDate><guid>https://darkwood-fr.github.io/flow/docs/getting-started/flow/</guid><description>Flow Flow implementation According to Wikipedia, Monads is an abstract generic structure that get its usage in function composition. Monads can shortly considered as Programming with effects.
We consider Flows as a set of elements in our ensemble as a Monad implementation :
By using job as basic function type within the Flow. By using fn as a binary operation, Flow can be composed together with others Flow element. A Flow can process one or many Ips which has its application for asynchronous programming when mixing with Drivers.</description></item><item><title>Driver</title><link>https://darkwood-fr.github.io/flow/docs/getting-started/driver/</link><pubDate>Tue, 13 Oct 2020 15:21:01 +0200</pubDate><guid>https://darkwood-fr.github.io/flow/docs/getting-started/driver/</guid><description>Driver Flow embark multiple drivers.
Coroutine Drivers are useful to essentially provide asynchronous programming by using coroutines.
Thus, this can be implemented in severals ways in most popular programming languages.
Coroutine are very similar to threads and provide concurrency but not parallelism.
Advantage of using coroutine :
Coroutine Drivers are useful to essentially provide asynchronous programming by using coroutines. Thus, this can be implemented in severals ways in most popular programming languages.
Coroutine are very similar to threads and provide concurrency but not parallelism. Advantage of using coroutine :
this can be a preferred usage to thread for hard-realtime context. there is no need for synchronisation primitives such as mutexes, semaphore. it reduces the usage of system lock for sharing resources.</description></item><item><title>Ip Strategy</title><link>https://darkwood-fr.github.io/flow/docs/getting-started/ip-strategy/</link><pubDate>Tue, 13 Oct 2020 15:21:01 +0200</pubDate><guid>https://darkwood-fr.github.io/flow/docs/getting-started/ip-strategy/</guid><description>Ip Strategy When processing Flow with one or multiple Ips, you can choose a strategy that will sequence the order of processing Ip.
LinearIpStrategy This process Ip by order : first in, first out.
StackIpStrategy This process Ip as a stack order : push ip to the top of the stack, then order ip retrieval from the top stack to bottom.
Expand Down
Loading

0 comments on commit b204593

Please sign in to comment.