OpenSource For You

Limiting the scope

-

The variable parameter helps to limit the scope of the data we pass into the template. Otherwise, the function created by precompila­tion uses the with statement to control the scope. The with statement is recognised as a source of confusing bugs and compatibil­ity issues. It is important to set up this variable while configurin­g, to avoid the usage of the with statement. It makes the template faster.

We can also set it up as follows:

Newspapers in English

Newspapers from India