Thanks for the reply!
This isn't a library. This is a weird framework, which needs me to run my
sources through some executables.
I need a good library with no garbage. Pure D code, that I can merge with
my sources.
On Mon, May 14, 2012 at 5:56 PM, simendsjo <simendsjo gmail.com> wrote:

web.d by Adam Ruppe?
http://arsdnet.net/web.d/
You just need "web.d" file you can find on github.
On Monday, 14 May 2012 at 14:04:01 UTC, Gor Gyolchanyan wrote:

Thanks for the reply!
This isn't a library. This is a weird framework, which needs me
to run my
sources through some executables.
I need a good library with no garbage. Pure D code, that I can
merge with
my sources.
On Mon, May 14, 2012 at 5:56 PM, simendsjo
<simendsjo gmail.com> wrote:

cgi.d is the one for a basic server.
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff
If you use cgi.d alone, you can use the little
-version=embedded_httpd
built in webserver to get started.
==
import arsd.cgi;
void requestHandler(Cgi cgi) {
cgi.write("hello, world!");
}
mixin GenericMain!requestHandler;
==
dmd myapp.d arsd/cgi.d -version=embedded_httpd
./myapp
then go to http://localhost:8080/
It doesn't have great performance under heavy load though!

Thanks for the reply!
This isn't a library. This is a weird framework, which needs me
to run my
sources through some executables.
I need a good library with no garbage. Pure D code, that I can
merge with
my sources.

You might want to have a look at it again – Vibe.d just
provides a way to quickly start your application using a wrapper
script for RDMD which also automatically links in libevent, etc.
If you don't like that, you can always choose to build your
project in another way.
David