- Serverless Design Patterns and Best Practices
- Brian Zambrano
- 259字
- 2021-08-27 19:12:02
A Three-Tier Web Application Using REST
It should be safe to say that the vast majority of developers know what REST is. A three-tier web application consists of the following:
- Presentation layer (HTML and CSS)
- Business logic layer (application code)
- Data layer (Relational Database Management System or another type of data store)
The three-tier web application is extremely well known and one of the most common designs on the web today. Readers are likely familiar with this design when thinking about a web application's static content (that is, HTML, JavaScript, and CSS) which are served from a content delivery network (CDN), which talks to a RESTful API hosted on a web server, which, in turn, talks to a database.
In this chapter, we will go through the process of building a three-tier web application using HTML, JavaScript, and CSS for our presentation layer, a REST API for our business logic, and a Postgres database for our data tier. Most importantly, and keeping in line with this book, this will all be accomplished using serverless technologies or services where you do not need to manage servers yourself.
By the end of this chapter, you can expect to know the following:
- How to author a REST API using Amazon Web Services (AWS) Lambda and Python
- How to build, manage, and deploy static assets to a CDN
- How to create and maintain an RDS Postgres database
- Options for designing RESTful APIs, including different languages, frameworks, and layouts of functions
- Static asset life cycle management and caching for optimal performance
- 后稀缺:自動化與未來工作
- Learning Microsoft Azure Storage
- R Data Mining
- Mobile DevOps
- PyTorch深度學習實戰
- 精通特征工程
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- 構建高性能Web站點
- 項目管理成功利器Project 2007全程解析
- 電腦上網輕松入門
- 網絡服務器搭建與管理
- HBase Essentials
- 21天學通Linux嵌入式開發
- Puppet 3 Beginner’s Guide
- Hands-On Business Intelligence with Qlik Sense