samedi 10 décembre 2016

Transaction script implementation

Could you please advice me which of these two (if any) approaches to Transaction Script patter is correct?

Basically I need to implement "pure" TS, which is not to bend it in some convenient way. And the question is when I get data from Table Data Gateway shall I store them, for different parts (logical part for sake of clarity) of transaction and use them where do I need, OR get data don't store them but directly use them and if the same data are needed again call table gateway and ask for it.

Example: http://ift.tt/2gm3f0S

Thanks. Hopefully it makes sense if not let me know :)

Aucun commentaire:

Enregistrer un commentaire