my preference
1. process all the data and accumulate dynamic content in
variables
2. avoid including HTML within the dynamic content
3. include all of the HTML at the end of the document
4. use the shorthand notation for inserting the dynamic content
1. process all the data and accumulate dynamic content in
variables
2. avoid including HTML within the dynamic content
3. include all of the HTML at the end of the document
4. use the shorthand notation for inserting the dynamic content
within the page
///
把所有的数据放到变量中;
避免在动态内容包含HTML code
包含所有的HTML在文件的结尾
使用shorthand标记<?=$variables?>来进行插入动态的内容