This article will show you how to use the different API methods of yaapi, which is an API tool useful for managing content. It will explain how to retrieve a list of articles, display an article on a web page, retrieve a list of categories, and more.
Last week, I created a category titled "Test." Letís rename it to something more meaningful, say "PHP" in keeping with my "DevShed" example, outlined in the previous section. Currently, I have one article (created in the previous article) in the database. Let me be practical; it is nonsensical to demonstrate how to display a list consisting of one article. It's time to rectify this discrepancy; I will proceed to add some more test articles using the yaapi administration module.
One final bit before I dive into some PHP code. In the last article, I stated that "significant components of a web page are constant." For example, you may have a header with a logo and a banner, a left hand menu of hyperlinks, footer with legal copyright notices and so on. For the readerís benefit, I have put together a simple HTML outline that may help you visualize such a layout and at the same time, it shoud serve as a framework for my examples.