D for Web Development?
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 8 20:34:20 PDT 2017
On Thursday, 8 June 2017 at 08:36:38 UTC, Nicholas Wilson wrote:
> Yes. Adam D. Ruppe also has some easy to use libraries that may
> suit your need.
Indeed, my cgi.d, database.d, and postgres.d would give a
foundation.
https://github.com/adamdruppe/arsd
you download the individual files and compile them into your
program. Depending on how you want to set up, you can change the
backend with `-version=embedded_httpd` or `-version=fastcgi` or
`-version=scgi`. I recommend using a production grade web server
in front of any application server, whether it is mine or vibe or
node or whatever, then use a cgi mode to talk to the app or
reverse proxy to an embedded http server.
anyway, if you are interested let me know and I'll write a simple
demo.
vibe is more popular but with it's async lib requirement it isn't
as compatible. With mine you can use C libraries with ease
regardless of i/o model.
More information about the Digitalmars-d-learn
mailing list