concept backend in category sails

appears as: backend, backend
Sails.js in Action

This is an excerpt from Manning's book Sails.js in Action.

Figure 1.2. The frontend makes a request and the backend makes a response.

Now that you understand how clients and servers communicate and how to design and build backend APIs, we’ll turn our attention to the frontend itself. Wait a second, isn’t Sails a backend framework? It is! But for certain kinds of apps, the backend is responsible for delivering frontend assets. Whether that fits your Sails app depends on the types of frontends you’re building or, more specifically, the types of user-agents your application will need to support.

1.9. Frontend vs. backend validations

We’ll address security throughout the book, with some extra emphasis on the subject in chapter 15. But in the meantime, we need to focus on an important security concept before you start building your application: whom can you trust? There are two basic realms in a web application: the frontend and the backend. Each of these realms guarantees a different level of trustworthiness and therefore requires a different degree of rigor when it comes to security, as depicted in figure 1.20.