Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • 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)

    • for loops, if statements

    • pcalls

    • 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

    • Setting the polling time

    • Sending data between components

  • General Lua coding best practices

    • Global vs. local variables

    • Avoid deeply nested blocks

    • Naming functions and variables (e.g. camel case or not)

  • Overview of existing iFW libraries