Chapter 1. Mastering the MVC Architecture

In this chapter, we will discuss the MVC architecture principles and see how Spring MVC implements those.

Our goal is to design a simple page where users can search for tweets corresponding to certain criteria and display them to our users.

To achieve this, we will use the Spring Social Twitter project, which is available at http://projects.spring.io/spring-social-twitter/.

We will see how to make Spring MVC work with a modern template engine, Thymeleaf, and try to understand the inner mechanics of the framework. We will route our users through different views, and finally, we will give a stellar look to our application using WebJars and Materialize (http://materializecss.com).

The MVC architecture

I expect ...

Get Spring MVC: Designing Real-World Web Applications 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.