Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81180

Should I give an object back to the major mf or not?

$
0
0

hi guys,

 

in order to understand Mx more I am wondering what  the "official" way is of giving an object back to the MF from a subMF.

 

For example:

I store the aggregated info in a object, called Info. And I have 5 different subMF's wherein I count, which needs to store the aggregated integers in that object.

So I can give each time this Info object as a parameter to the submf AND submf could give it back as an updated Info" object at the end. The next sub MF could use for its parameter the Info" object and so on...

OR

The same without giving the object back at the end's of the subMF to the major MF.

 

I think the both are doing what it should.

 

But which is better and why?

 

 


Viewing all articles
Browse latest Browse all 81180

Trending Articles



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