D Web Services Application Potential?

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 25 21:33:53 PDT 2015


On 26/07/2015 10:47 a.m., Brandon Ragland wrote:
> Hi All,
>
> Not entirely certain if there is a decent D web applications server
> implementation as of yet, but if there is a project going on, I'd love
> to have a gander.
>
> On the off-chance there isn't one, who would be interested in going at
> it, call it, a 'group' project.
>
> I've been yearning for a D web app server for a while, as most of my day
> to day work is done on Java EE containers (think Glassfish, Weblogic,
> etc. Java Beans, lalala) and the insane system usage has bothered me
> from day one.
>
> There's Wt for C++, although I don't see much coming from that, though
> the concept is grand. Rust has a few up and coming web server frameworks
> as well.
>
> D could really excel here.
>
> -Thoughts? Am I crazy (probably)?

I wrote Cmsed[0], web service framework which uses Vibe.d and Dvorm 
(ORM)[1].
They are both sunsetted.

I'm currently working on a web server[2] that will ultimately replace a 
good bit of what Vibe.d is currently being used for. Which will be using 
libasync[3] (backend for vibe.d but purely in D) instead of Vibe.d.

Of course progress is slow and my current set of code is not up in the 
repository as I wrote it on stream[4]. My intention is there, is once 
std.experimental.image gets more boring again / can't do much on stream 
I'll start work on it again. Once it comparable to what I've got on 
repo, I'll update it.
In terms of what the web server will be like, Apache httpd config 
syntax[5] but a LOT more dynamic ala JSP style.

Once web server is done then I'll continue with my web service framework 
based upon Cmsed. Most of that code is ready to go. It's just things 
like reloading and templates that need rewriting.

[0] https://github.com/rikkimax/cmsed
[1] https://github.com/rikkimax/dvorm
[2] https://github.com/DNetDev/webserver
[3] https://github.com/etcimon/libasync
[4] https://www.livecoding.tv/alphaglosined/
[5] https://github.com/DNetDev/apache_httpd_format


More information about the Digitalmars-d mailing list