The use of XSL separates the page layout from the program data, so you don't need to write or use an XML parser because XSL does it for you.
XSL 的使用将页面布局与程序数据分隔开,因此您不必编写或使用 XML 解析器,因为 XSL 替您这样做了。
Now the UI is safe and the code is simpler, because it separates the work into the part that should be done on a worker thread and the part that should be done on the UI thread.
现在UI是安全的,代码也得到简化,因为任务分解成了工作线程内完成的部分和UI线程内完成的部分。
This method of theming content is preferred because it cleanly separates the bulk of the PHP code from the xHTML.
这种内容主题化方法是首选的,因为它干净地将大块 PHP 代码与 xHTML 分隔开了。
应用推荐