Two parts, how-to practice guides on Lua coding using available functions in the Translator, and general best practices
...
Lua basics (see Eliot’s tricks and tips) - Lua
for loops, if statements
pcalls - pcall() under Error Handling
require modules
etc.
...
Iguana Translator-specific functions
Setting custom log messages (see Lua webinar)
Calling the iguana functions and what they do
Database and network functions
Crypto functions - Message level Encryption
Setting the polling time - component.setTimer{}
Sending data between components - How to push messages into a queue?
...
General Lua coding best practices - Lua Coding Best Practices
Global vs. local variables
Avoid deeply nested blocks
Naming functions and variables (e.g. camel case or not)
...
Page Tree | ||||
---|---|---|---|---|
|