PHP preferences

来源:互联网 发布:linux下usb调试工具 编辑:程序博客网 时间:2024/05/16 11:59
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

within the page


///////

把所有的数据放到变量中;

避免在动态内容包含HTML code

包含所有的HTML在文件的结尾

使用shorthand标记<?=$variables?>来进行插入动态的内容


0 0
原创粉丝点击