Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Ideas] Event lifecycle handlers in web-blocks in web apps

$
0
0

Hello Everyone,


We know that OutSystems mobile development provides the event handlers on blocks. Examples: OnInitialize, OnReady, OnRender, OnParameterChanged etc.


It would be great if some of these event handlers were also provided for web application development in OutSystems.


I can think of a good usecase for the  "OnParameterChanged"event handler.

Whenever parent screen/webblock changes its data , it will cause the parameters used by the child webblock to change.

We generally require to refresh the child webblock from the parent screen action - to trigger re-render of the child webblock. If the parameters are changed, it would be ideal to have the child webblock itself re-render again. This is very much like the "reactive" model followed by many new frameworks. 

Other event handlers for the web-block render lifecycle would also be useful.

Another advantage would be:  the developers would be following a similar programming model on both mobile and web applications. If are able to make the differences smaller between both development types (mobile and web) - it would be great.



Regards,

Chetan


Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>