Diamond - MVC / Template engine

Bauss via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed May 25 07:01:19 PDT 2016


On Wednesday, 25 May 2016 at 12:29:03 UTC, Kagamin wrote:
> On Tuesday, 24 May 2016 at 14:57:03 UTC, Bauss wrote:
>> Note: If you have a better suggestion, feel free to come with 
>> one :)
>
> I'd say do what razor does: raw output should require extra 
> syntax. Weren't templates created in order to not build html in 
> code?

So you suggest to switch them around? :)

@=value; will become encoded and @$=value; will become raw?

That could work out.


More information about the Digitalmars-d-announce mailing list