WikiTypeFramework is a generic Web content management engine which allows you to easily manage Web documents, access rights, and document history. It's basically a WikiWithProgrammableContent written in PHP with the addition of group level access permissions on pages and the ability to embed PHP code directly into documents.
If you want to know more or give the software a try, the project has been added to SourceForge and the new home page is http://wtfw.sourceforge.net/
There you will find a page collecting ideas for programmable content (IdeasForProgrammableContent) where interesting new ideas can be discussed and demonstrated.