1. The origin of templates
Before there was template technology, when PHP was used to develop programs, PHP code and HTML were usually mixed together. For example, the news list is probably a newslist.php page with the following structure:
//Read the news records to be displayed from the database
?>