Question: How can I create Master Pages like in ASP.NET using PHP and Smarty?

I want to have several content place holders in the master page and simply fill them with almost big HTML chunks. So I'm looking for a better approach than what I currently have.

```
$content =<<< eol
    <div id="home">
        <img src="images/jon.jpg" id="left-image" />
    </div>
eol;

$smarty->assign('content', $content);
$smarty->display('index.tpl');

```

Answer: 
Take a look at [AppScale](http://code.google.com/p/appscale/).
It highly depends on how you use App Engine currently with Gaelyk.
Gaelyk is syntax sugar on top of the GAE SDK, and builds upon of the shoulders of the Groovy giant: the Groovlet servlet and Template servlet are part of Groovy itself, not of Gaelyk.
So if you don't rely on the various GAE services, you can run your app on any Java container, wherever hosted it may be.