How D may replace PHP & ASPX on the Web!!!

Adam D. Ruppe destructionator at gmail.com
Fri Jul 29 08:10:58 PDT 2011


Andrei Alexandrescu wrote:
> Do you think you'd consider packaging your work as a proposal
> for inclusion in Phobos?

Yeah, once it's nailed down. Right now though, the "design"* is
still volatile and the implementation pretty ugly. There's some
weird limitations too (Nick has started helping to fix these though,
so this situation will probably change rapidly) so not suitable
for the stdlib at this point.

* I say "design" because it's actually more of an evolution of
"hey that might be cool" tempered by a handful of small real apps
using it than an actual "this is a good idea" design.


cgi.d might be phobos ready though with some documentation. I've
started writing that up a week or so ago. Started using github
too, so check out the README here to see what I have documented
so far:

https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff


I spend more time on "Why?" in documentation than "how" though!
But that's because I tend to believe that libraries represent
and added cost in general, so the benefit really needs to be
justified for every little hassle it puts you through.

With some luck, once you understand why I did it the way I did,
the usage will be easier to remember too, since you can always
go back to these principles rather than memorizing a list of
functions.


More information about the Digitalmars-d mailing list