There are several rules that must be obeyed when using JavaScript with the Client Framework 2.
There are several rules that must be obeyed when using JavaScript with the Client Framework 2.
The Client Framework 2 reserves for its use all global variables with a prefix of either V$, v$, V_ or v_.
The Client Framework 2 extends some classes and objects that already exist within the JavaScript environment, and therefore it reserves for its use all properties that have the same prefix as the global variables.
Class names created by the Client Framework 2 are defined in the V$ global variable.
The Client Framework 2 objects, i.e. those created by the Client Framework 2 classes, reserve properties with the cx prefix (stands for Custom eXtension) for use by custom extensions. Please note that the properties are already protected from clashing with the custom code by virtue of being in an object.
Any code other than explicitly defined to be a public API has unspecified behavior and can be changed any time. Internal methods and properties are prefixed with a "_" character where possible. If the name of a method or property starts with "_", then it is an internal code and should not be used by a custom code. However, just because the name of a method or property does not start with "_" does not mean it is a part of the public API.
When this document refers to a Map type it simply means a plain JavaScript object.