How can I use D to develop web application?

2011-09-13 Thread zsxxsz
I find D is a excellent program lang. I usualy use C/C++, sometime using Java/Php. I hate C/C++ for its lowerly effecient development, and I have Java/Php for it virtual machine. So, I love D very much. But when I want to write some web program, I can't find any useful resources. Anybody else can t

Re: How can I use D to develop web application?

2011-09-13 Thread sclytrack
https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff cgi == Quote from zsxxsz (zsx...@263.net)'s article > I find D is a excellent program lang. I usualy use C/C++, sometime using > Java/Php. I hate C/C++ for its lowerly effecient development, and I have > Java/Php

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from sclytrack (sclytr...@idiot.com)'s article > https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff > cgi > == Quote from zsxxsz (zsx...@263.net)'s article > > I find D is a excellent program lang. I usualy use C/C++, sometime using > > Java/Php. I hate C/C

Re: How can I use D to develop web application?

2011-09-13 Thread Adam Ruppe
zsxxsz wrote: > I think the cgi module is lower effecient. That's not really true. The reason CGI has a perception of being slow is because it's used by slow languages most the time, but with D, it's fast. That said, if you still want to use fast cgi, just use -version=fastcgi when compiling with

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Adam Ruppe (destructiona...@gmail.com)'s article > zsxxsz wrote: > > I think the cgi module is lower effecient. > That's not really true. The reason CGI has a perception of being > slow is because it's used by slow languages most the time, but with > D, it's fast. I don't think so. Be

Re: How can I use D to develop web application?

2011-09-13 Thread Adam Ruppe
zsxxsz wrote: > The fork process is expensive for any OS. Have you actually measured this? > I feel the cgi library is too simple, so I doubt wether it supports > fcgi for Apache, Nginx or other Webserver. Have you actually looked at it? I've personally used it on three web servers (IIS, Apache,

Re: How can I use D to develop web application?

2011-09-13 Thread Trass3r
Thank you very much. I think the cgi module is lower effecient. I found fcgi(http://www.dsource.org/projects/fastcgi4d) and mango(http://www.dsource.org/projects/mango) which support servlet. But they don't support D2, anyone else can merge them to D2? Why don't you port them yourself?

Re: How can I use D to develop web application?

2011-09-13 Thread Nick Sabalausky
"zsxxsz" wrote in message news:j4o0nn$2igh$1...@digitalmars.com... > == Quote from Adam Ruppe (destructiona...@gmail.com)'s article >> zsxxsz wrote: >> > I think the cgi module is lower effecient. >> That's not really true. The reason CGI has a perception of being >> slow is because it's used by

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Adam Ruppe (destructiona...@gmail.com)'s article > zsxxsz wrote: > > The fork process is expensive for any OS. > Have you actually measured this? Yes, I'm sure. Fork on UNIX or CreateProcess on Win32 are expensive. > > I feel the cgi library is too simple, so I doubt wether it support

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Trass3r (u...@known.com)'s article > > Thank you very much. I think the cgi module is lower effecient. I found > > fcgi(http://www.dsource.org/projects/fastcgi4d) and > > mango(http://www.dsource.org/projects/mango) which support servlet. But > > they don't support D2, anyone else can

Re: How can I use D to develop web application?

2011-09-13 Thread zsxxsz
== Quote from Nick Sabalausky (a@a.a)'s article > "zsxxsz" wrote in message > news:j4o0nn$2igh$1...@digitalmars.com... > > == Quote from Adam Ruppe (destructiona...@gmail.com)'s article > >> zsxxsz wrote: > >> > I think the cgi module is lower effecient. > >> That's not really true. The reason CGI

Re: How can I use D to develop web application?

2011-09-13 Thread Andrew Wiley
On Tue, Sep 13, 2011 at 8:54 PM, zsxxsz wrote: > == Quote from Adam Ruppe (destructiona...@gmail.com)'s article >> zsxxsz wrote: >> > The fork process is expensive for any OS. >> Have you actually measured this? > Yes, I'm sure. Fork on UNIX or CreateProcess on Win32 are expensive. Interestingly

Re: How can I use D to develop web application?

2011-09-13 Thread Josh Simmons
On Wed, Sep 14, 2011 at 12:04 PM, zsxxsz wrote: > == Quote from Nick Sabalausky (a@a.a)'s article >> "zsxxsz" wrote in message >> news:j4o0nn$2igh$1...@digitalmars.com... >> > == Quote from Adam Ruppe (destructiona...@gmail.com)'s article >> >> zsxxsz wrote: >> >> > I think the cgi module is lowe

Re: How can I use D to develop web application?

2011-09-24 Thread Jose Armando Garcia
On Tue, Sep 13, 2011 at 7:08 PM, Andrew Wiley wrote: > On Tue, Sep 13, 2011 at 8:54 PM, zsxxsz wrote: >> == Quote from Adam Ruppe (destructiona...@gmail.com)'s article >>> zsxxsz wrote: >>> > The fork process is expensive for any OS. >>> Have you actually measured this? >> Yes, I'm sure. Fork on

Re: How can I use D to develop web application?

2011-09-25 Thread mta`chrono
> Thank you very much. I think the cgi module is lower effecient. I found > fcgi(http://www.dsource.org/projects/fastcgi4d) and > mango(http://www.dsource.org/projects/mango) which support servlet. But they > don't > support D2, anyone else can merge them to D2? > > zsxxsz I've some D2 code work