Version 2.0.1!

A new version of Pampoo was released. Current stable version is 2.0.1. 

This release includes a major update to avoid use of .htaccess file. Idea was taken from dan.thoughts as http://blog.sosedoff.com/2009/09/20/rails-like-php-url-router/ 

Another improvement concerns operations flow: the sitemap is loaded in memory an shared are added to chosen command. Default command for no matching pattern is defined in sitemap. This a valid sample sitemap:  
<?xml version="1.0" encoding="utf-8"?>
<sitemap>

<configs>
	<config name="defaultcommand">home</config>
</configs>
	
<includes>
	<!-- View included in all commands -->
	<views>
		<view name="INTERNAL_REDIRECT" type="handler"  
                           command="Frontend_Handlers_Redirect/RedirectTo" />
		<view name="ERROR" type="static"  page="views/static/error.html" />	
	</views>
</includes>

<commands> 

	<command id="auth" pattern="login">
		<controller value="Frontend_BLL_Auth"/>
	</command>
	
	<command id="admin" pattern="admin">
		<controller value="Frontend_BLL_Admin"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>views/xslt/admin.xsl</trasform>
		</view>
	</command>

	<command id="home" pattern="home">
		<controller value="Frontend_BLL_Home"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>views/xslt/home.xsl</trasform>
		</view>
		<view name="DWOO" type="dwoo">
			<trasform>views/php/home.tpl</trasform>
		</view>
	</command>

	<command id="post" pattern="post/:id/:title">
		<condition key="id" value="[\d]{1,9}" />
		<condition key="title" value="[\w]*" />
		<controller value="Frontend_BLL_Post"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>views/xslt/post.xsl</trasform>
		</view>
	</command>

	<command id="page" pattern="page/:id/:title">
		<condition key="id" value="[\d]{1,9}" />
		<condition key="title" value="[\w]+(\.html)" />
		<controller value="Frontend_BLL_Post"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>views/xslt/post.xsl</trasform>
		</view>
	</command>
	
	<command id="tag" pattern="tag/:id/:title">
		<condition key="id" value="[\d]{1,9}" />
		<condition key="title" value="[\w]*" />
		<controller value="Frontend_BLL_Tag"/>
		<view name="SUCCESS" type="trasformation">
			<trasform>views/xslt/tag.xsl</trasform>
		</view>
	</command>
		
	<command id="ajaxservices" pattern="services/:class/:method">
		<condition key="class" value="[\w]*" />
		<condition key="method" value="[\w]*" />
		<controller value="Frontend_BLL_Ajax"/>
		<view name="SUCCESS" type="json"/>
	</command>
		
</commands>

</sitemap>
This application sitemap refers to Pampoo web site here at http://pampoo.sf.net