|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/serverless-functions-with-netlify/
课程评论:没有评论
课程名称:无服务器函数与Netlify 课程概述:欢迎参加无服务器函数课程。我们首先要回答一个关键问题:什么是无服务器函数,为什么我们需要关注它?在某些情况下,我们的应用程序需要动态特性,而在经历了无数次谷歌搜索后,我们意识到唯一的解决办法是构建和托管自己的服务器。以设置Stripe支付流程为例,然而有一个更好的解决方案——无服务器函数。 尽管“无服务器”这个名字听起来似乎没有服务器,但实际上并不是说没有服务器,而是由他人负责维护。作为前端开发人员,我们只需设置所需的功能,云服务提供商会处理其余的任务。此外,我们仍然可以继续使用我们喜欢的编程语言——JavaScript。虽然大多数云服务提供商都有无服务器函数的解决方案,但本课程将专注于一家名为Netlify的托管公司。Netlify提供慷慨的免费套餐,并且使得无服务器函数的使用非常简单。 在本课程中,我们将涵盖以下无服务器函数的示例和设置: - 基本“Hello World” - 基本API(使用本地数据) - 复杂API(与Airtable的集成) - 调查表 - 开放天气API - 新闻通讯 - 发送电子邮件/提交表单 - Stripe支付 通过这门课程,您将掌握无服务器函数的基本知识,并能够利用Netlify轻松实现各种动态功能。
Welcome to Serverless Functions Course.I guess let's start by answering the most pressing question first. What is a serverless function and why should we care? So, here is the deal. There are times when our app needs a dynamic feature and even after that 20th google search, we inevitably come to realization that the only way do it, is by building and hosting our own server. A good example would be setting up a stripe payment flow. There is a better solution though. Serverless Functions.Ok, but what is a serverless function? Well, despite the name, serverless function actually does not mean that there is no server. What it simply means, is that someone else is responsible for maintaining it. We, as front-end developers only need to setup our desired functionality, and the cloud provider will take care of the rest. What also really cool, we can continue to use our favorite programming language - Javascript. Most cloud providers offer some solution of serverless functions but for this course we will hosting company by the name of Netlify. We will use Netlify because they offer generous free tier and make it very easy, to get up and running with serverless functions.Here are the serverless functions examples/setups were are going to cover during the course.- Basic "Hello World"- Basic API (with local data)- Complex API (with Airtable)- Survey- Open Weather API- Newsletter- Send Email / Submit Form- Stripe Payment