Understanding tContextLoad
The tContextLoad
method as described in the recipe Using tContextLoad to load contexts in Chapter 6, Managing Context Variables.
Pros
tContextLoad
is more fine-grained than the other methods described previously, which means that context values could be set up for individual jobs within a project.
As with the implicit context load, use of external files is good practice for managing contexts, because they are less likely to be overwritten during deployment.
Cons
tContextLoad
suffers from the same failings as implicit context load; that is, the context variable checks are against all variables or none of them. The fine grain can also be a weakness, because this method does allow much more freedom to developers and could become unmanageable.
Conclusion
The tContextLoad
method provides a more fine-grained approach to contexts, giving choice to the developer as to which files and which variables within the files are required for a particular task.
Unfortunately, it does suffer...