We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode #104: Baseline, is this new serverless development framework better than Amplify?

#104: Baseline, is this new serverless development framework better than Amplify?

2024/7/16
logo of podcast Real World Serverless with theburningmonk

Real World Serverless with theburningmonk

AI Deep Dive AI Chapters Transcript
People
T
Thomas Nixon
Topics
Thomas Nixon: 我是Baseline的技术联合创始人,拥有软件开发的丰富经验,从承包商到咨询顾问都做过。Baseline是一个最近开源的框架,旨在帮助并促进无服务器社区的发展,并推动无服务器技术的进步。我们希望通过Baseline,解决无服务器技术采用过程中遇到的许多挑战,例如环境设置、工具选择、代码部署以及成本控制等。在过去的六年里,我们积累了丰富的经验,并将其融入到Baseline中,使它成为一个开箱即用的解决方案。我们希望开发者能够轻松上手,并能够快速构建可靠的无服务器应用程序。我们采用了Lambda和DynamoDB的组合,构建类似单体架构的JSON API,并基于实体的复合架构来减少冷启动,缩小包大小并提高可靠性。我们还提供了开箱即用的身份验证和中间件,以及CloudFront和S3的集成,以简化静态网站的部署。我们使用PNPM和ESBuild来提高开发效率,并使用serverless framework和serverless offline plugin来支持本地开发。我们还提供了一种简便的方法来管理环境变量,并尽可能地减少开发者与AWS控制台的交互。我们希望Baseline能够成为一个低风险的方式,帮助企业进行云现代化转型。 Jan: 在与Thomas的对话中,我了解到Baseline框架旨在简化无服务器应用的开发和部署流程。它提供开箱即用的功能,例如身份验证和数据库集成,并允许开发者使用熟悉的Express.js风格的代码来构建函数。同时,Baseline也解决了无服务器开发中的一些常见问题,例如冷启动和环境配置。与Amplify相比,Baseline最大的优势在于它完全开源,开发者可以完全控制代码和基础设施。这使得Baseline更加灵活和可定制,也更容易进行调试和维护。然而,Baseline也有一些局限性,例如目前尚未内置测试功能,以及对本地模拟的局限性。尽管如此,Baseline仍然是一个很有前景的无服务器开发框架,它有潜力降低无服务器技术的入门门槛,并帮助开发者更高效地构建应用。

Deep Dive

Chapters
Thomas Nixon, CTO of Baseline, discusses the challenges of serverless adoption and introduces Baseline.js, a new framework designed to simplify serverless development. He highlights common patterns in successful and unsuccessful serverless projects, emphasizing the importance of reliable deployments and a clear understanding of the serverless ecosystem.
  • Baseline.js is an open-source framework designed to simplify serverless development.
  • Common challenges in serverless adoption include connecting to databases, scaling, environment variables, and local development.
  • Baseline.js aims to provide a baseline project structure and tooling to address these challenges.
  • The framework incorporates learnings from six years of serverless development experience.
  • Key features include support for JSON APIs, simplified authentication, and optimized deployments.

Shownotes Transcript

Thank you to Hookdeck for sponsoring this episode. If you're looking to level-up your event-driven architecture, then check out their serverless event gateway at hookdeck.com/theburningmonk) and help support this podcast.Thomas Nixon, CTO of Baseline, shares stories from the trenches about the challenges of adopting serverless technologies.He gave us a demo of Baseline.js, a new serverless development framework that captures the many hard-learned lessons his team has made in the last six years.Think Amplify, but you own the source code and can easily customize things to suit your needs. I recommend watching the episode on YouTube so you can see the full demo: https://www.youtube.com/watch?v=a6r8M8E_5n4Links from the episode:

  • Getting started with Baseline.js)
  • Baseline's Github repo)
  • Thomas' LinkedIn profile)

Opening theme song:Cheery Monday by Kevin MacLeodLink: https://incompetech.filmmusic.io/song/3495-cheery-mondayLicense: http://creativecommons.org/licenses/by/4.0)