User Tools

Site Tools


Sidebar

<menu col=1,align=center>

<item>Documentation||[[lara:documentation]]|{{:lara:img:dictionary.png?25}}</item>
<item>Downloads||[[lara:downloads]]| {{:lara:img:projects.png?25}}</item>
<item>Tutorials||[[lara:tutorial]]|{{:lara:img:books.png?25}}</item>
<item>Other uses of LARA||[[lara:other]]|{{:lara:img:globe.png?25}}</item>
<item>About Us||[[https://sites.google.com/site/specsfeup/]]| {{:lara:img:specslogo.png?25}}</item>
<item>Projects||[[lara:usage]]| {{:lara:img:math.png?25}}</item>

</menu>

/* They are empty */ /* <item>FAQ||faq|</item> */ /* <item>Dev. Team||team| </item> */ /* <item>About LARA||about|</item> */

lara:tutorial:js

Coding JavaScript in LARA

LARA allows the use of Javascript inside aspects.

LARA Naming Conventions

LARA follows Javascript naming conventions. This means that variable names and functions use camelCase, and global variables ALLCAPS. Aspect names should be PascalCase.

;#; ← Basic 101: How to LARA JavaScript in LARA Advanced LARA → ;#;

test.js
sdfsdfsd
test.lara
sdfsdfsd
test.xpto
sdfsdfsd

;#; ← (Basic 101: How to LARA) | JavaScript in LARA | (Advanced LARA) → ;#;

lara/tutorial/js.txt · Last modified: 2019/09/22 15:47 (external edit)