Hi ,
I am looking for a solution for applying some kinds of common business logic to all server request and response . We have around more than 50 server /service calls , now there is a requirement to apply filter on each request ( as an example , specific role check , modifying request to apply common business logic). In traditional programming language we can easily implement this by filter pattern.
Does OutSystems provides any way to handle these types of scenarios ?
Hi Sabeeb,
There is nothing in OutSystems that can help you.
What you can do is, create a reusable action that you include at the start of server requests.
What you can do, but I would not be a fan of this solution; is to detach the front end with the back end by using only REST APIs you build in OutSystems, to communicate from your app to the server back end. Then you can use the enhanced features of OutSystems to handle the incoming requests.
This is however a lot more work, and you lose the benefits of OutSystems full stack approach.
Regards,
Daniel
Thanks Daniel for the response.
This is the essential feature required for any development platform , not sure why OutSystems still evolving to address this kind of use cases.
Maybe, I don't know, I don't see a request of this in our projects. So maybe not all projects require this. You can post an Idea here: https://www.outsystems.com/ideas
Then you and OutSystems can track if it is seen as essential by the OutSystems community.