Video Tutorials

The Web File Server and the LSP Application Manager are two demo programs from the Barracuda Embedded Web Server SDK. The Web File Server and the LSP Application Manager are more than just demos; they are designed to help you speed up the LSP design process. The Web File Server is typically used on a PC such as Linux or Windows. The LSP Application Manager is typically used in deep (monolithic) embedded systems. The following videos introduce these two tools and show you how to use the tools for developing LSP applications.

Web File Server (wfs)

The following video shows how to use the Web File Server as a tool for developing LSP applications on a host computer such as a PC.

The video is available to registered users

Barracuda Server Setup Tutorial

This tutorial is designed for computer programmers tasked with the integration and set up of the developer environment for the Barracuda Web Server Library or the Barracuda Application Server Library.

The video is available to registered users

LSP Application Manager (lspappmgr)

The LSP Application Manager (lspappmgr) is typically used as a development tool in deep (monolithic) embedded systems. The lspappmgr is designed as a boot loader for loading, starting, and stopping Lua Server Pages applications in a running system during development. The last part of the video shows how to run the lspappmgr in an embedded device without a file system. The web application being developed is loaded into the embedded device by using the server’s included network file system, the NetIo.

The video is available to registered users

The NetIo is similar to a network file system and makes it possible for the embedded device to access resources on another Barracuda server.

The NetIo is a web file server client specifically designed to operate a remote web file server server such as the wfs. In other words, the remote web file server's file system appears as a local file system to the code using an instance of the NetIo.

The following diagram illustrates a page request using the NetIo:

 
Browser        Embedded System         Web File Server (running on host computer)
  |                   |                       |
  |    get page       |                       |
  | --------------->  |                       |
  |                   |  stat (file exists?)  |
  |                   | --------------------> |
  |                   |         yes           |
  |                   | <-------------------  |
  |                   |                       |
  |                   |   get fragment 1      |
  |                   | --------------------> |
  |                   |    fragment 1         |
  |     response      | <-------------------  |
  | <---------------  |                       |
  |                   |                       |
  |                   |   get fragment 2      |
  |                   | --------------------> |
  |                   |    fragment 2         |
  |     response      | <-------------------  |
  | <---------------  |                       |
  |                   |                       |
  |                   |                       |