Hi Artyom,
I am currently trying developing a web-application based on cppcms.
Here I would like to know,
1. are there any loops stuffs in the template system of CPPCMS?
as in PHP we have
<?php foreach ($var as $key => $value); ?>
<label><?php echo $key ?>:</label><label><?php echo $value ?>:</label>
<?php end foreach; ?>
also, in php one can mix php codes along with html codes for eg:
<html>
<body>
<?php
while(expr)
{
//do some stuff
}
?>
</body>
</html>
2. is it possible in cppcms to mix c++ and html codes the similar way?
Or is there any alternative way of doing points 1 & 2?
Thanks a lot in advance Artyom :)
|