To install pampoo you need the following requirements:
php 5.2 or later 

Pampoo is designed to divide application classes and well manage code update. It requires a sitemap to decide how to route web request and some classes called controllers to handle those requests

This is  a sample  sitemap file:
<?xml version="1.0" encoding="utf-8"?>
<config>
<actions> 
	<action id="home">
		<controller value="Controllers_Home"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>Views/Home.xsl</trasform>
		</view>
	</action>
</actions>
</config>

This is the example controller associated with this sitemap :
<?php
class Controllers_Home extends Pampoo_BLL_Serializable {
     
   public function InitController() {		
	$this->model->Message = "Hello world!";
	return "SUCCESS";
	}
}
?>
Now you need a view to render (output to browser) the message; this view is defined in <transform> tag in the sitemap. The example rendering view is Views/Home.xsl. This is the content:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:template match="/">
	<html>
	<head>
		<title>My first web page with Pampoo</title>
	</head>
	<body>
		<h2><xsl:value-of select="//Message"/></h2>
	</body>
	</html>	
	</xsl:template>

</xsl:stylesheet>

Now that you have created the controller and the view you need an application entry point (e.g.: index.php) where you can initialize the framework. Assuming the directory containing the application is /var/www/html (and Pampoo framework is located under /var/www/html/lib/Pampoo) this is a valid example application entry point:
<?php
session_start();
ob_start();
date_default_timezone_set('Europe/Rome');
  
require_once "/var/www/html/lib/Pampoo/Pampoo.php";

require_once "Controllers/Home.php";

Pampoo::init("/var/www/html/", "/var/www/html/sitemap.xml");
Pampoo::Run(); 
?>
Assuming your webserver address is http://localhost point your browser to http://localhost/index.php?action=home you should view the magic words "Hello world"!

Download the application sample at Sourceforge