It's time to add a new, big functionality on our social network. Right now, users can post a variety of content and comment on each other's content. Of course, they cannot register themselves or log in to the page, but this problem will be fixed in the next few chapters. From the point of view of the product, we want users to spend more time on our social network, and that's why we are going to add a feed reader.
By the end of this chapter, you will know how to use a few components of ZendFeed
, which will be used to parse the RSS feeds of the websites to which the user wants to subscribe to. Then we will use the CLI version of the controllers to make a script that will fetch the articles of the feeds every X minutes. Of course, this will be made to run by a cronjob. At the frontend, we will see how to use ZendNavigation
in two ways: the default easy way, and the programmatic way. We will also work with the usual suspects, databases, table gateways, and so on. But we will review that really fast because the focus now is on different components.
On the application, the functionality will look similar to the following screenshot:
Let's review all the sections as follows:
ZendNavigation
.ZendNavigator
component to populate the pages and detect the element that is active.