在ASP.NET MVC和PHP(CodeIgniter,CakePHP等)中都可以使用MVC,在使用可以同时使用两个平台的视图引擎时,有哪些选项可以启用复制/粘贴而无需任何更改?我能想到的是:
还有吗?如果还有更多,将添加到列表中。
答案 0 :(得分:1)
我真的无法想到,但绝对推荐PHPHaml。
您可以尝试使用.Replace函数构建自己的。由于CodeIgniter有Template Parser Class
string news = "test news template {content} bye";
news = news.Replace("{content}","test content");