One thing that bubble gets right is facilitating the use of custom functions and making the result available for further use within Bubble’s workflow
Functions are made up of three main elements as you all know: input, logic and output.
Would it make sense to implement a server action and a client component that facilitates this?
In both options you would select the input type, input data and the output type.
Then in App Connect you would be able to define a custom JS file and in Server connect a custom server model file(php/asp/asp.net).
Wappler would then pass to the custom file selected the input data and simple validation over input type selected.
You would then be able to apply whatever logic you need and return the result in the output type selected in a return statement
Then Wappler would be able to make use of that result in further actions in Server Connect or as Data in App Connect.
It would facilitate being able to share custom functions between us and creating a library of helpers.
Idea comes from Antony, Bubble and the Feature Request about server side regex.