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.
Ruby on Rails does (with .erb
- embedded ruby files) - you can use embedded ruby in the views for rails MVC applications...
For example:
<p>
<b>Some HTML</b>
<%= puts "some ruby" %>
</p>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With