D for Web Development?

Wulfklaue via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 9 03:29:47 PDT 2017


On Friday, 9 June 2017 at 08:20:34 UTC, Michael Reiland wrote:
> Thanks for the link to those resources, that'll definitely help 
> giving me a broad overview, which for me is best.  If I know 
> something is there I can dive into the details when it becomes 
> more important to what I'm doing.
>
> I'm definitely interested, a small example with the integrated 
> httpd would be great.  Just a hello world would be perfect.

Try this:

Module:
https://dpaste.dzfl.pl/61bdcc0716eb

Run with:

> import webserver;
> 
> void main()
> {
>     auto Web = new Webserver();
> 
>     Web.run_();
> }

Sorry if its not a great example, also new to D :)


More information about the Digitalmars-d-learn mailing list