Chapter 13. Introduction to Client-Side Rendering
Since the beginning of the web, as we have learned, the conventional method of displaying HTML is using server-side rendering. This latter was great; websites were simple and didn't need much interaction. However, nowadays, that's not the case anymore. There are a lot of applications on a single website; you need messaging, updates, shopping, real-time data sync—the end consumer always wants more.
In this chapter, you'll learn the following things:
- What is a server-side rendering?
- What is a client-side rendering?
- The pros and cons of both
- An introduction to VueJS
- Finally, creating a Weather application with VueJS
So, what is this client-side rendering? Client-side rendering is a new type of rendering website using mostly JavaScript to render it instead of server-side languages such as PHP, Python, or Ruby.
To understand the difference, we will need to understand how server-side rendering works.