In this video tutorial, we cover Jets Polymorphic Support Ability. Jets allows you to write Lambda functions not just in Ruby but also in other languages like Node and Python. This can be useful if you have pre-existing Lambda code. You can re-use the code and and move on with life.
Here’s what a Python polymorphic function looks like in Jets:
Here’s what a Node polymorphic function looks like in Jets:
Summary of What We’ll Cover
- Explain what Jets Polymorhic Support Means
- Write a Python example and test locally
- Write a Node example and test locally
- Remove any code that would genreate Ruby Lambda Functions
- Deploy to AWS Lambda
- Check out AWS Lambda Console to see the different languges and editor
- For an Jets Introduction: Introducing Jets: A Ruby Serverless Framework.
- Also more info at: Jets documentation site.
Jets Tutorial Series
- Toronto Serverless Presentation: Jets Framework
- An Introductory CRUD App Part 1
- Deploy to AWS Lambda Part 2
- Debugging Logs Part 3
- Background Jobs Part 4
- IAM Policies Part 5
- Function Properties Part 6
- Extra Environments Part 7
- Different Environments Part 8
- Polymorphic Support Part 9
Also, here’s source code from tutorial: tongueroo/jets-tutorial-crud