ASP.NET 2.0 Master Pages in PHP
ASP.NET 2.0 has a really nice feature they call Master Pages. I love how these work, except, my webserver doesn't handle ASP. Since I personally prefer the stability of a Linux server over Windows, and do not have enough control over the webserver my page is on, I had to rely on something else. Lucky for me I was already learning how to use PHP. This functions exactly like an ASP master page, there is just no file called something.master. The thing I love about it is the fact that you design one page, that has all the framework for your page. I also use CSS, and XHTML for my webpage, so this master page has 90% of the code, and links to the external CSS file. Of course if you wanted your CSS in the page without an external file this will work, or if you don't use CSS at all, that's fine too. When you load a webpage from your site, say index.php, it loads the master.php, and then dumps the data you have in index.php into some variables you have set up on master.php waiting for data. So now all you are really coding is one page, one set of navigation links, and all your other pages for the most part are just text, you could add more code or whatever you want.
PHP Notes/HowTo/Security Issues
Document in progress. This is not a project, it is me teaching myself PHP. Eventual plans are to possibly make it into a MSDN-like page.
