Page 1 of 1

“angled brackets” and “hashbang” methods

Posted: Tue Mar 16, 2021 5:14 am
by keliko
Hello,
I'm learning how to use a livecode server and I found {{}} the revigniter code but no explanation in the directory
Can you explain how to use {{tLocal}}

Thank you all for explaining

Re: “angled brackets” and “hashbang” methods

Posted: Tue Mar 16, 2021 11:50 am
by rabit
Regarding the square brackets: All data in the
global array variable gData is merged with the view
using double square brackets in the view file.
Please read the section
“Adding Dynamic Data to the View” in
chapter “Views” of the user guide.

The double curly brackets notation is used so
that benchmarking even works with cached pages
(total execution time only in this case). Please
read the section “Displaying Total Execution Time”
in chapter “Benchmarking Library” of the user guide.

Of course all this applies to revIgniter only.