1、视图引擎的作用是什么
帮助开发人员实现MVC中的view的开发
2、什么是一个好的视图引擎
1)基于该引擎开发出的模板要更贴近标准的html
2)语法简单易懂
3)良好的缓存机制
4)扩展性良好
5)网络资源多
3、市面上常见视图引擎
Smarty、PHPLIB
Smarty
提供了逻辑与外在内容的分离,php程序员同美工的工作相分离