econ
3 months ago
I generally just want to see code or xml
marcosiino
3 months ago
Sure, here is a small quickstart from the docs which show a very basic example of a pipeline, configured both with hardcoded php and with xml configuration:
https://github.com/marcosiino/pipeflow-php/blob/main/DOCUMEN...
In the same documentation you can find a list of the available core stages (which includes the control flow stages), and you can develop your custom stages (in php obviosly) which can then be used in the xml configurations (or php hardcoded pipelines) like reusable piece of puzzles.
Imagine stages which makes custom business logic of your customer web application (get pending carts, get last n days orders, get user feedbacks, generate invoice ) or more generic custom stages (generate pdf, send emails, etc) and imagine allowing using these stages to your web application customer (who manages an ecommerce for example, which maybe is not a developer, but wants to have the freedom to refine or edit some of the workflows, or create new ones)