Lua Server Pages

(For Developers)

  • Easy to learn

    Learning LSP is easy if you have experience with a scripting language such as PHP, ASP, etc.. Learning Lua is a breeze if you have prior experience with any scripting language. The WEB server API available to LSP applications is similar to APIs in enterprise servers, and you can, therefore, use your existing knowledge when designing LSP applications. LSP is a plugin integrated into the BarracudaDrive Server.

  • A wealth of features

    BarracudaDrive Server also provides a wealth of other plugins such as Bindows, a WEB 2.0. SDK. Bindows is a Software Development Kit (SDK) for writing robust and secure Rich Internet Applications. With Bindows you can develop web applications that look and feel like Windows applications. The Bindows platform provides rich functionality for thin Web clients. Bindows applications require no end-user installation -- true zero-footprint.

Bindows

Benefits of LSP

The initial load time for WEB 2.0 applications can be slow on many servers. We solve this problem by storing deployed applications as zip files. The zip file does not need to be uncompressed by the server as the server can directly mount the ZIP file as a file system. Files inside the ZIP file are sent compressed directly to the browser, thus reducing the browser load time by a factor of 3.

Online LSP documentation

LSP Example: A Basic Web Counter

<html> <!-- A basic LSP hit counter --> <body> <?lsp page.count = (page.count or 0) + 1 ?> <h1>You are visitor <?lsp=page.count?></h1> </body> </html>

Compare the LSP example to this PHP example. Which one is easier?

More Examples