像Smarty这样的模板引擎 [英] Template Engine like Smarty

查看:61
本文介绍了像Smarty这样的模板引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个像Smarty一样的C模板引擎( http://smarty.php.net/

将html与C代码分开?


谢谢,

Carlos。

There is a Template Engine for C like Smarty (http://smarty.php.net/)
to separate the html from the C code?

Thanks,
Carlos.

推荐答案

gl **** @ neuroticweb.com 写道:
有一个像Smarty一样的C模板引擎( http ://smarty.php.net/
将html与C代码分开?
There is a Template Engine for C like Smarty (http://smarty.php.net/)
to separate the html from the C code?




如何结合使用C和HTML ?恕我直言,如果你想在HTML或类似的地方使用类似OOP的

功能,请使用PHP


问候,

-

EP



how do you combine C and HTML? IMHO if you want to use say OOP-like
functionality in HTML or alike, use PHP

greetings,
--
EP




Erich Pul ha escrito:

Erich Pul ha escrito:
gl****@neuroticweb.com 写道:
有一个模板引擎C像Smarty( http://smarty.php.net/
将html与C代码分开?
There is a Template Engine for C like Smarty (http://smarty.php.net/)
to separate the html from the C code?



如何将C和HTML结合起来?恕我直言,如果你想在HTML或类似的使用说类似OOP的功能,使用PHP

问候,
-
EP



how do you combine C and HTML? IMHO if you want to use say OOP-like
functionality in HTML or alike, use PHP

greetings,
--
EP



我知道,我知道,但我需要它用于C,我无法改变语言。



I know, i know, but i need it for C, i cannot change the language.


>我知道,我知道,但我需要它用于C,我无法改变语言。


好​​,你想如何使用C与HTML?使用C推出HTML代码?

> I know, i know, but i need it for C, i cannot change the language.

well, HOW do you want to employ C with HTML? putout HTML code with C?


这篇关于像Smarty这样的模板引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆