From the course: Building Full-Stack Apps with React and Spring
Overview of the full-stack and MVC
From the course: Building Full-Stack Apps with React and Spring
Overview of the full-stack and MVC
- [Instructor] If you have been programming for a few years you may have heard of the model view controller pattern, but it is often the first thing you learn as you grow more experienced as a developer. This pattern basically defines how an application should be split and often reflects how your modules are organized within three simple categories, models, views, and controllers. The model is where your data resides, where you define your schemas and the models for your data. The views is where you have your views and in most cases the pure HTML of your application, where the visuals are. And finally the controller is where you have your logic of your application, the functions that makes your application run. Following this pattern most developers put all the files in structure of their application following this pattern and even sometimes name the folders with these labels. So if we apply this pattern to the stack we'll be using in this course the models would be handled by spring as long as the controllers which are being in most part handled as well into spring. And finally the view that will be handled by react. And when I say most part for controllers, some of the logic sometimes can be handled by react with their high order components, which are the components that wrap some of the logic to create a new component. We want to explore HOCs in this course, but if you'd like more information on them look into reacts documentation.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Introduction to Spring1m 12s
-
(Locked)
Introduction to React1m 33s
-
Overview of the full-stack and MVC1m 27s
-
(Locked)
IDE for a Java/JavaScript environment2m 35s
-
(Locked)
Introduction to Postman2m 56s
-
(Locked)
Initialize a project with Spring Boot2m 47s
-
(Locked)
Initialize the React client project2m 24s
-
(Locked)
-
-
-
-