Reminder, you do not need to create an instance of this class, there is a global object called Chain for all versions of Modern Pascal.
Usage
From a Security Perspective:
You can restrict all access to a single URL if you would like, and this URL quickly unloads and chains to another module of your application via the Chain.Run(filename); call. The filename of course can check for the existence of Chain.Store() variables - if they are not found, reject the client request.
From a Modular Design Perspective:
By keeping your overall product designed as hot-swappable modules, you reduce run-time overhead as code that is not relative is not being loaded for every web request. This means faster response time to client connections, which means more concurrent connections are possible.
From a Memory Footprint Perspective:
By designing for hot-swappable modules, you reduce the memory footprint normally found with so many existing web scripts. Smaller memory footprint means less memory paging, less memory fragementation, and thus improved system performance and reliability.
Globals
None
Classes
TChain
Functions
TChain.VarExists(String):Boolean
Procedures
TChain.Clear
TChain.Release(String)
TChain.Retreive(String, Var)
TChain.Run(String)
TChain.Store(String, Constref)