官术网_书友最值得收藏!

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 (AWSLambda 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
主站蜘蛛池模板: 白山市| 五莲县| 安宁市| 宿迁市| 霞浦县| 纳雍县| 杭锦旗| 射阳县| 黄陵县| 波密县| 靖远县| 礼泉县| 察雅县| 宁城县| 孝昌县| 宣化县| 蓬安县| 镇安县| 东光县| 吴忠市| 桑植县| 呼伦贝尔市| 临泽县| 平罗县| 长春市| 洪雅县| 高邮市| 朔州市| 武强县| 桃园县| 保康县| 黄平县| 望城县| 准格尔旗| 福鼎市| 七台河市| 泸州市| 安岳县| 洛南县| 平远县| 健康|