PHP就像提供嵌入式HTML的语言一样 [英] PHP like languages that offers embedded HTML

查看:96
本文介绍了PHP就像提供嵌入式HTML的语言一样的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有哪些其他语言能够处理嵌入式HTML /非处理文本,如PHP的<?php / * PHP CODE * /?>非PHP代码 本地



我真正想要的是保持逻辑部分硬编码C ++然后我会暴露像表示层几个变量的结构来处理它。并将演示文稿部分放在一些脚本语言中,我可以在其中嵌入标记语言。因为表示层应该快速变化,不会有编译开销。

解决方案 热门服务器支持嵌入式HTML的技术: b
$ b

请参阅 here 获取更完整的列表。


What are the other languages that has the ability to handle embedded HTML/Non-processed-text like PHP's <?php /*PHP CODE*/ ?> NON-PHP CODE natively ?

What I actually want is to keep the logic part hard coded may be in C++ then I'll expose the constructs like few variables for the presentation layer to work with it. and leave the presentation part loose on some scripting language where I can embed a mark up language. as the presentation layer is supposed to be rapidly changing there won't be a compilation overhead ..

解决方案

Popular server technologies supporting embedded HTML:

See here for a more complete list.

这篇关于PHP就像提供嵌入式HTML的语言一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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