Add free shipping to your order with these great books
Practical Lua 5 Programming - Brynna Kevar

eBOOK

Practical Lua 5 Programming

By: Brynna Kevar

eBook | 6 March 2025

At a Glance

eBook


$47.99

or 4 interest-free payments of $12.00 with

 or 

OR

Free with Kobo Plus Read

Start Free Trial *
  • Subscribe and read all you want.
  • $13.99 a month after free trial. Cancel Anytime. Learn more.

Instant Digital Delivery to your Booktopia Reader App

Read on
Android
eReader
Desktop
IOS
Windows

If you're into Lua programming, then this "Practical Lua 5 Programming" is a must-read. It's a hands-on book that'll help you get up and running quickly. It's got clear, step-by-step examples that'll walk you through everything from setting up your development environment to building dynamic web applications and embedding Lua in other programming languages.

Every chapter starts with an essential concept and then gives you some practical exercises to help you learn it. You'll see how powerful Lua can be as you work through problems and get immediate results. You'll start with the basics, like installing Lua on Linux, writing your first script, and learning the core language features like variables, data types, tables, functions, and control structures. And it gets even better—you'll dive into advanced stuff like metatables, coroutines, and closures. This is where you'll learn how to make flexible, modular code. The book also covers important stuff like file handling, using LuaRocks to manage your packages, and creating your own custom modules.

The book also takes you through web development using Lapis framework, demonstrating routing, template rendering, session management, and deploying applications. You'll also see how Lua can be embedded in JavaScript and Python applications, enabling you to leverage Lua's speed and efficiency in varied environments.

Key Learnings

Make use of Lua's dynamic typing, tables, and control structures.

Create and work around metatables, closures, and coroutines for modular code.

Apply file I/O and data parsing to manage persistent data.

Use LuaRocks to install, update, and manage custom modules.

Build web apps with Lapis using routing and session management.

Embed Lua in JavaScript and Python to boost performance.

Integrate HTTP, JSON, and APIs for system data exchange.

Implement middleware and session tracking for secure apps.

Table of Content

Getting Started with Lua 5

Lua Data Structures and Variables

File I/O and Scripting Techniques

Advanced Programming Constructs

Package Management and Module Creation

Popular Lua Modules and Extensions

Web Development with Lapis

Embedding Lua in JavaScript Apps

Embedding Lua in Python App

Read on
Android
eReader
Desktop
IOS
Windows

More in Embedded Systems

Introduction to Computer Organization : ARM Edition - Robert Plantz

eBOOK