However, most our use cases would be in PHP apps. I see that you’re working on a code generation API. Would that be the step necessary for generating the PHP invokable code?
For now, the generated code is in JS, so you'll need Node.js to execute it. Though, it could have other target languages. I keep in mind the PHP usecase, I'll see if/when I can implement this.
In the meantime, you can create custom nodes that call PHP routes of your app. Not the most performant way of doing it, but it should work.
Well, that isn't the use-case I would need. The whole app would be written in PHP, so there would be no node process to execute the function. Invoking the function in node would require launching it, which would take a lot of time.
I'm thinking of various sites that need a "script" condition for domain logic. Like, "this coupon applies when your cart contains 5 items worth at least $5 each". If the client tried to write the logic for that they'd have no clue how. But a graph editor would be make that user-friendly.
There's just not a lot of FBP stuff for PHP, even though it's a popular language.
For now, the generated code is in JS, so you'll need Node.js to execute it. Though, it could have other target languages. I keep in mind the PHP usecase, I'll see if/when I can implement this.
In the meantime, you can create custom nodes that call PHP routes of your app. Not the most performant way of doing it, but it should work.