When we read an article online, we were not happy enough to read an article of interest. We also wanted to read some related articles and read them at the end of the article, you will find that the relevant reading lists the chapters related to the articles you read this time. We can click and read them again, saving the search time. In terms of the design that focuses on user experience, the relevant reading functions are indispensable. The following describes how to use a view to implement the reading function of an article. When we read an article online, we are not very happy to read the article we are interested in, I also want to read some related articles. At the end of the article, I will find the relevant articles listed and related to this Article. We can click here to read them again, saves search time. In terms of the design that focuses on user experience, the relevant reading functions are indispensable.
There are many ways to implement relevant reading. Here we will list related articles based on the same TAG method. The principle is that if the tag of the article is the same, their tag IDs will also be the same, therefore, the related articles for listing an article are actually the articles with the same tag as those listed in the article.
Now, let's go to the topic. Prepare two associated tables wb