Thursday, March 08, 2007 at 10:00am EST
This week, you will see the powerful and dynamic Application Shared DataStore feature of Visual APL. This feature allows you to share data across your entire application, no matter how your code is divided via Classes, Namespaces, Projects...
Application Shared DataStore
When creating APL applications under legacy development systems, you have probably made use of global variables in your workspace for storing information or data which is useful to every part of your application. These variables would always exist in the workspace, so that any code could reference them no matter when or where it ran while the workspace was running.
The Application Shared DataStore brings this same simplicity of sharing data application wide to the world of .Net.
In .Net, you have a panacea of tools for dividing your code into its various functional parts. These tools include constructs like Classes, Namespaces, Solutions, Projects, DLL's, EXE's, the list goes on..., and sharing data across these various divisions of your code can become a complicated task to maintain and implement.
Visual APL brings the solution to Visual Studio and your application in the Application Shared DataStore, another .Net feature first, not found in any other .Net language!
The Application Shared DataStore brings the ease of globally shared variables, to the traditionally isolated programming concepts of Classes, Namespaces, etc..., allowing you to specify variables as being scoped to the running instance of your application.
This means that no matter where code resides in your application, it can reference and store data in the Application Shared DataStore, and any code anywhere else in your application can access and manipulate that same data.