Apache "mod_d" needs C to instantiate D interpreter?

Jacob Carlborg doob at me.com
Tue Nov 9 01:46:57 PST 2010


On 2010-11-09 06:17, Nick Sabalausky wrote:
> "Andrei Alexandrescu"<SeeWebsiteForEmail at erdani.org>  wrote in message
> news:ibaepi$vfh$1 at digitalmars.com...
>>
>> People at Facebook told me that the adoption of D inside the company might
>> be helped if they could simply write<?d ... ?>  to insert D code into a
>> page. I'm not sure how difficult such a plugin would be to implement.
>
> I'm very suprised by that. That's become considered very bad style by most
> of the [professional] web dev world quite awhile ago, and for very good
> reason. Rails-, django- and even ASP.NET-style "pass variables into an HTML
> template" approaches have proven to be...well...frankly, much less shitty.

You will always need some kind of code in the views, to print out the 
contents of the models, if you don't go with the Lift approach and 
creating new HTML tags.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list