Home arrow Site Administration arrow Building a Barebones Content Management System: The Yaapi API

Building a Barebones Content Management System: The Yaapi API

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.

  1. Building a Barebones Content Management System: The Yaapi API
  2. Under The Hood
  3. yaapi -- Getting Started
  4. yaapi -- Listing Articles
  5. yaapi -- Display An Article
  6. yaapi - Display List Of Categories
By: Harish Kamath
Rating: starstarstarstarstar / 6
September 21, 2005

print this article



Time To Catch Up

Welcome to the second part of my series on "Building a Barebones Content Management System." For those who missed out earlier, here is a quick refresher of the topics covered in the first part. It started by listing the reasons why I initiated the exercise of developing a custom CMS: the basic need for dynamic updating of content, quirks and limitations of popular CMS software packages and so on. So, I decided to put together a simple and flexible CMS using a bunch of readily available APIs: yaapi, a useful API to manage content; patTemplate, a Templating engine; and patUser, a tool to manage users and permissions. It does not pay to re-invent the wheel, does it?

Today, Iíll continue where I left off in the previous article. I shall show how to use the different API methods of yaapi to retrieve a list of "articles", display an "article" on a web page, retrieve a list of "categories" defined from the administration module and much more.

If the terms "articles" and "categories" sound like Greek and Latin, thereís no reason to despair. Iíll explain these concepts in the next section, which outlines how yaapi organizes content in the database. A clear understanding of these terms is essential to leverage fully on the capabilities of the API.

Letís get started, shall we?

>>> More Site Administration Articles          >>> More By Harish Kamath

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Coding: Not Just for Developers
- To Support or Not Support IE?
- Administration: Networking OSX and Win 7
- DotNetNuke Gets Social
- Integrating MailChimp with Joomla: Creating ...
- Integrating MailChimp with Joomla: List Mana...
- Integrating MailChimp with Joomla: Building ...
- Integrating MailChimp with Joomla
- More Top WordPress Plugins for Social Media
- Optimizing Security: SSH Public Key Authenti...
- Patches and Rejects in Software Configuratio...
- Configuring a CVS Server
- Managing Code and Teams for Cross-Platform S...
- Software Configuration Management
- Back Up a Joomla Site with Akeeba Backup

Developer Shed Affiliates


Dev Shed Tutorial Topics: