We created a Module, a Resource Module, and a Collection in the previous video. You can find it by the link.
Magento 2 provides a set of framework features that easily create different entry points. One of the entry points we will learn in this video is a Page. Let’s go ahead and start to create a page that is going to render all our post records from a database table.
A page in Magento 2 is a result of an Action Controller execution. Each controller either returns HTML content or redirects to another controller for further processing. In this lesson, we will create a page showing a JSON message in a browser when accessed via a custom route.
Watch the video, and please share the blog with friends and colleagues!