Home arrow Site Administration arrow Page 3 - Building a Barebones Content Management System: An Introduction

Getting Started with yaapi - Administration

How do you keep visitors returning to your website? By updating content regularly. Maintaining this gets out of hand unless you have a content management system. Harish Kamath explains how to put a barebones CMS together using three APIs.  To see the VIDEO TUTORIAL click HERE.

TABLE OF CONTENTS:
  1. Building a Barebones Content Management System: An Introduction
  2. yaapi and patTemplate and patUser = A barebones CMS
  3. Getting Started with yaapi
  4. Setting it up
  5. First Glance
By: Harish Kamath
Rating: starstarstarstarstar / 15
September 14, 2005

print this article
Building A Barebones CMS - Video Tutorial
SEARCH DEV SHED

TOOLS YOU CAN USE

Free companion video tutorial for this article! Click Here!

advertisement

Before I get started, here is a check list of the prerequisites required for the successful installation and implementation of the packages that I intend to use for my development:

  • a web server, preferably Apache
  • PHP, installed and configured on the server
  • a MySQL database

Fortunately, most Linux-based hosting packages bundle the above software as a part of their standard hosting plan. But, if you have a dedicated box that you manage on your own, you can always download (and install) them from the following websites: 

The next step is to download a copy of yaapi. Point your browser to the following URL: http://xhawk.net/projects/yaapi/. Next, I uncompress the archive file, i.e. yaapi-1.2.1.tar.gz, to a convenient location under my web server root as shown below.

$ tar -xzvf yaapi-1.2.1.tar.gz

$ mv yaapi-1.2.1 yappi

Next, I proceed to create a MySQL database that will be used by yaapi. Start up the MySQL client and fire the following commands, one by one.
Create a new database using the following SQL command (I've called mine "bb_cms").

mysql> CREATE DATABASE bb_cms;

Next, I create a MySQL user with the appropriate rights on the database that I’ve created above.

mysql> GRANT SELECT ,  INSERT ,  UPDATE , DELETE , CREATE , DROP , INDEX , ALTER ON `bb_cms`.* TO  " bb_cms_user "@"localhost" IDENTIFIED BY "password_comes_here";
Query OK, 0 rows affected (0.03 sec)

After the database and MySQL user have been created, it is time to set up the required database tables. And fortunately, the yaapi distribution contains a SQL file -- titled "yaapi.sql" -- with the required SQL instructions. Execute the following command: 

$ mysql -D yaapi -u bb_cmsuser -p < /usr/local/apache/htdocs/yaapi/yaapi.sql



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

blog comments powered by Disqus
   

SITE ADMINISTRATION ARTICLES

- 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

 



© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap

Dev Shed Tutorial Topics: