Advanced Lua Training Course

Primary tabs

Course Language

This course is delivered in English.

Course Code

luaadv

Duration Duration

14 hours (usually 2 days including breaks)

Requirements Requirements

Basic knowledge of the Lua programming language

Overview Overview

This is an advanced course on Lua, where basic knowledge of the programming language is already assumed. Therefore this course gives the participant a more profound understanding of Lua internals and the "why" behind the used Lua idioms.

These advanced topics are demonstrated by plenty of examples and in-class exercises.

Course Outline Course Outline

Advanced tables

  • Tables for queues and stacks
  • Tables describing graphs
  • Matrices as tables
  • Linked lists as tables
  • String buffers

Metatables through examples

  • Proxies
  • Readonly
  • Memoization
  • Dynamic programming with memoization
  • The Fibonacci example

Environments

  • Relationship between global variables and environments
  • Free variables
  • The _ENV table and the _G table

More about modules

  • Different approaches to creating modules
  • Modules that change the behavior
  • Module initialization and arguments
  • Using environments to implement safe modules

Advanced iterators and co-routines

  • Producer, consumer, filter
  • Wrapping co-routines to get iterators
  • Stateless iterator for linked lists

Contributing to the Ecosystem

  • Uploading packages to MoonRocks

Functional paradigm in Lua

  • The map function
  • The reduce / fold function

Object-oriented Programming

  • Different approaches to OOP
  • Different approaches to inheritance
  • Examples

A walkthrough of the Lua Standard Libraries


Guaranteed to run even with a single delegate!
Public Classroom Public Classroom
Participants from multiple organisations. Topics usually cannot be customised
From $4750
(98)
Private Classroom Private Classroom
Participants are from one organisation only. No external participants are allowed. Usually customised to a specific group, course topics are agreed between the client and the trainer.
From $4750
Request quote
Private Remote Private Remote
The instructor and the participants are in two different physical locations and communicate via the Internet
From $3450
Request quote

The more delegates, the greater the savings per delegate. Table reflects price per delegate and is used for illustration purposes only, actual prices may differ.

Number of Delegates Public Classroom Private Classroom Private Remote
1 $4750 $4750 $3450
2 $2750 $2700 $2050
3 $2083 $2017 $1583
4 $1750 $1675 $1350
Cannot find a suitable date? Choose Your Course Date >>
Too expensive? Suggest your price

Related Categories


Course Discounts

Course Venue Course Date Course Price [Remote/Classroom]
Excel VBA Introduction FL, Aventura - Corporate Center Tue, Sep 13 2016, 9:30 am $1780 / $3460
ORACLE PL/SQL Fundamentals CA, San Diego - Stonecrest IV Mon, Sep 26 2016, 9:30 am $4950 / $7190

Upcoming Courses

VenueCourse DateCourse Price [Remote/Classroom]
WI, Milwaukee - Downtown MilwaukeeWed, Sep 14 2016, 9:30 am$3450 / $5410
MD, Baltimore - Legg Mason TowerWed, Sep 14 2016, 9:30 am$3450 / $5200
FL, Tallahassee – Alliance CenterWed, Sep 14 2016, 9:30 am$3450 / $5290
NE, Omaha - Landmark CenterWed, Sep 14 2016, 9:30 am$3450 / $5360
PA, Philadelphia - International PlazaWed, Sep 14 2016, 9:30 am$3450 / $5310

Some of our clients