Answers needed from those using D for Web Development, Web APIs and Services
Jonathan Marler
johnnymarler at gmail.com
Fri Dec 22 04:11:24 UTC 2017
On Friday, 15 December 2017 at 08:13:25 UTC, aberba wrote:
> I'm going to do a writeup on the state of D in Web Development,
> APIs and Services for 2017. I need the perspective of the
> community too along with my personal experience. Please help
> out. More details the better.
>
> 0. Since when did you or company start using D in this area?
I converted 2 of my websites from PHP to D earlier this year.
http://clarityfitidaho.com
http://bobbiblu.net
>
> 1. Do you use a framework? Which one?
I use my own "cgi.d" framework to create cgi scripts in D that
are served up by apache.
(https://github.com/marler8997/mored/blob/master/more/cgi.d) I
started a project to replace apache for my applications, however,
I have not finished or deployed it yet.
>
> 2. Why that approach and what would have done otherwise?
PHP is a nightmare. I love the benefits of compiled languages,
and D is both compiled and powerful enough to compete with
dynamic languages like python/javascript/php. Go would also be a
good candidate, but without all the power of D that I've come to
know and love, I feel like someone's cut off my legs when I
program in it.
>
> 3. Which task exactly do you use D to accomplish?
In the web space, I use it to render web pages via cgi scripts,
but I use D in many more areas outside of the web space.
>
> 4. Which (dub) packages do you use and for what purpose?
I don't use any dub packages.
>
> 5. How do you host your software code (cloud platforms, vps,
> PaaS, docker, Openshift, kubernetes, etc)?
I rent a debian server for $50 a month from serverpronto. I host
a handful of websites on it and use it for other things as well.
>
> 6. What are some constraints and problems in using D for such
> tasks?
No complaints from me. D works great especially on linux.
>
> 7. What solutions do you recommend?
More information about the Digitalmars-d
mailing list