Redesign of dlang.org

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 6 09:14:03 PST 2016


On 2016-01-06 15:35, welkam wrote:

> You are not making it more accessible by adding one more technology that
> is not usually used for web development.
>
> Here is how various languages are embedded in html
> PHP: <?php code ?> or <? code ?>
> Ruby on rails: <% code %>
> Django(python): {% code %}
> Hack: <?hh {code}
> D: can`t.
>
> Why cant D be used like all other web languages? (rhetorical question)
>
> It would be nice if there were possibility of writing html with <?d code
> ?> in html and with structure like this:
>
> <?d= include("header.dd");?>
> <div>
> <?d= content ?>
> </div>
> <?d=include("footer.dd");?>

https://vibed.org/templates/diet

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list