"Andrei Alexandrescu" <seewebsiteforem...@erdani.org> wrote in message 
news:ibam3u$1b5...@digitalmars.com...
> On 11/8/10 9:17 PM, Nick Sabalausky wrote:
>> "Andrei Alexandrescu"<seewebsiteforem...@erdani.org>  wrote in message
>> news:ibaepi$vf...@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.
>
> I'm simplifying matters a fair amount. Indeed mixing php with hardcoded 
> html has been mostly removed from the code base. The point remains that 
> easily writing D code that gets executed to load a page would be a boon.
>

I see. Although I haven't had a chance to start on it yet, one of my top 
"pet project" priorities isto take Adam Rupee's web-related code and turn it 
into a rails/django-like thing. It's been by dream for far too long now to 
use D for my web development work. 


Reply via email to