PHP就像提供嵌入式HTML的语言一样 [英] PHP like languages that offers embedded HTML
问题描述
有哪些其他语言能够处理嵌入式HTML /非处理文本,如PHP的<?php / * PHP CODE * /?>非PHP代码
本地?
我真正想要的是保持逻辑部分硬编码C ++然后我会暴露像表示层几个变量的结构来处理它。并将演示文稿部分放在一些脚本语言中,我可以在其中嵌入标记语言。因为表示层应该快速变化,不会有编译开销。
解决方案 热门服务器支持嵌入式HTML的技术: b$ b
- 活动服务器页面 (。asp)
嵌入式Ruby文件 (.erb) li>
- Groovy服务器页面 (.gsp)
- JavaServer Pages (.jsp)
- PHP:Hypertext Preprocessor (。php)
请参阅 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:
- Active Server Pages (.asp)
- Embedded Ruby Files (.erb)
- Groovy Server Pages (.gsp)
- JavaServer Pages (.jsp)
- PHP: Hypertext Preprocessor (.php)
See here for a more complete list.
这篇关于PHP就像提供嵌入式HTML的语言一样的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!