Administration
  Home arrow Administration arrow Building a Barebones Content Managemen...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Rational Software Development Conference
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ADMINISTRATION

Building a Barebones Content Management System: The Yaapi API
By: Harish Kamath
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2005-09-21

    Table of Contents:
  • Building a Barebones Content Management System: The Yaapi API
  • Under The Hood
  • yaapi -- Getting Started
  • yaapi -- Listing Articles
  • yaapi -- Display An Article
  • yaapi - Display List Of Categories

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    IBM Developerworks
     
    ADVERTISEMENT

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    Building a Barebones Content Management System: The Yaapi API
    (Page 1 of 6 )

    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.

    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 Administration Articles
    More By Harish Kamath


       · I too had gone through the first two stages of your thought process (writing your...
     

       

    ADMINISTRATION ARTICLES

    - Configuring Load-Balanced Clusters
    - Load-Balanced Clusters
    - UNIX Time Format Demystified
    - Making Changes in the CVS
    - Building Your First CVS Repository
    - CVS Quickstart Guide
    - Authorizing Users in Samba
    - Handling User Accounts in Samba
    - Authentication in Samba
    - Accounts, Authentication, and Authorization
    - Advanced Concepts on Dealing with Files and ...
    - Dealing with Files and Filesystems
    - More Hacks for the User Environment in BSD
    - Personalizing the User Environment in BSD
    - Customizing the User Environment in BSD




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway