Workshop

Dynamic Serverless Applications

If you’ve ever had tools or services you wanted to be able to access whenever it was needed but the cost of an EC2 or hosting service was more than you wanted to spend, this workshop provides a viable alternative. AWS Lambda is a “serverless” platform which only is active when it is actively being used and billing time can be measured in milliseconds rather than minutes or hours. It listen to an endpoint to be hit or other events from the AWS ecosystem. Thanks to BoxLangs small footprint and rapid startup time, the impact on user experience is negligible.

In this workshop we will use the BoxLang AWS Template to create a Lambda Function which, despite the name, can be an entire API and not just a simple function as we would normally think of it. This API will include using custom BoxLang code, database access, routing, using additional BoxLang modules as well as modules from Forgebox, calls to other APIs and more. .

Prerequisites

The following are the workshop requirements for this workshop:

  • An AWS account wouldn’t hurt. Costs will be negligible to non-existent
  1. Course Intro
    1. Lamba vs a "normal" server
    2. Creating and Deploying the zip/jar
  2. Creating a Function in AWS Lambda
    1. Settings
    2. Function URL Configuration
    3. List
  3. Building Your App
    1. Initial Functions
    2. Using Other BoxLang Modules
    3. Routing
    4. Forgebox Modules
    5. Using Custom Modules
  4. Advanced
    1. Creating Versions
    2. Using Versions for A/B Testing

Topics

BoxLang ColdBox