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 ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.