The Portal Framework was developed by Kai Jauslin as a practical part of his master thesis. The concept was very similar to Apache Cocoon. Here you can download the thesis, which was a kind of utopian at the time but is heavily used today by social platforms. The implementations are of course much more sophisticated, but still lack privacy. I can send you the tag libraries if you want to see the code.