Page 1 of 1

.NET vs PHP

Posted: Thu Dec 15, 2005 8:54 am
by petersmith
In ASP.NET I can use MasterPages...these are templates on which I can base each page I create...so where normally you would have a frameset now the masterpage does all the work for me...
How can this be achieved in PHP?

Posted: Thu Dec 15, 2005 9:01 am
by Chris Corbyn
Sounds like you could do the exact same thing using include() to pull different scripts into a template file ;)

You might also want to look at Smarty: http://smarty.php.net/

Posted: Thu Dec 15, 2005 5:07 pm
by timvw
Afaik php doesn't have a (standard) implementation for masterpage (.net) / tiles (java).

A very simple implementation: http://timvw.madoka.be/?p=431

Posted: Thu Dec 15, 2005 5:31 pm
by Ambush Commander
Interesting concept. Thanks for the tip, timvw.