Scripting Style - Backscript or start using
Posted: Sat Mar 04, 2017 9:47 am
Hi,
I am in the process of refactoring one of my projects and wish to reduce the number of handlers in my main stack to aid clarity.
A number of handlers deal with a single aspect (report generation) so I have moved these to a new sub-stack. I have use a start using mysubstack command in the main stack to enable the use of the handlers in the sub-script and all is well.
However, I wonder if I should consider other methods such as putting the scripts into the backscript. What are the advantages/disadvantages of each method? What do you favour?
Skids
I am in the process of refactoring one of my projects and wish to reduce the number of handlers in my main stack to aid clarity.
A number of handlers deal with a single aspect (report generation) so I have moved these to a new sub-stack. I have use a start using mysubstack command in the main stack to enable the use of the handlers in the sub-script and all is well.
However, I wonder if I should consider other methods such as putting the scripts into the backscript. What are the advantages/disadvantages of each method? What do you favour?
Skids