Re: D for Web Development?

2017-06-09 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 9 June 2017 at 22:01:14 UTC, Michael Reiland wrote: So if I'm understanding this code correctly, your libs don't have any sort of routing setup either, and I would have to write the code to inspect the URL and do the right thing? web.d does (it is automatic via names in the source

Re: D for Web Development?

2017-06-09 Thread Michael Reiland via Digitalmars-d-learn
On Friday, 9 June 2017 at 15:07:03 UTC, Adam D. Ruppe wrote: // compile with the cgi.d, database.d, postgres.d, and dom.d library modules // and make sure your C libpq library is available. so on my computer, the // compile command is: // dmd webtest.d ~/arsd/{cgi,database,postgres,dom}

Re: D for Web Development?

2017-06-09 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 9 June 2017 at 08:20:34 UTC, Michael Reiland wrote: I'm definitely interested, a small example with the integrated httpd would be great. Just a hello world would be perfect. Here's one: --- // compile with the cgi.d, database.d, postgres.d, and dom.d library modules // and make

Re: D for Web Development?

2017-06-09 Thread Wulfklaue via Digitalmars-d-learn
On Friday, 9 June 2017 at 08:20:34 UTC, Michael Reiland wrote: Thanks for the link to those resources, that'll definitely help giving me a broad overview, which for me is best. If I know something is there I can dive into the details when it becomes more important to what I'm doing. I'm

Re: D for Web Development?

2017-06-09 Thread Wulfklaue via Digitalmars-d-learn
to evaluate D, but since I'm so ignorant I thought I'd post here for people's thoughts. It seems as though vibe.d is the most prevalent framework, and even has a book about it here: https://www.amazon.com/D-Web-Development-Kai-Nacke/dp/178528889X/ A few questions: - Is vibe.d the recommended

Re: D for Web Development?

2017-06-09 Thread Michael Reiland via Digitalmars-d-learn
Thanks for the link to those resources, that'll definitely help giving me a broad overview, which for me is best. If I know something is there I can dive into the details when it becomes more important to what I'm doing. On Friday, 9 June 2017 at 03:34:20 UTC, Adam D. Ruppe wrote: anyway,

Re: D for Web Development?

2017-06-08 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 8 June 2017 at 08:36:38 UTC, Nicholas Wilson wrote: Yes. Adam D. Ruppe also has some easy to use libraries that may suit your need. Indeed, my cgi.d, database.d, and postgres.d would give a foundation. https://github.com/adamdruppe/arsd you download the individual files and

Re: D for Web Development?

2017-06-08 Thread Jacob Carlborg via Digitalmars-d-learn
On 2017-06-08 09:32, Michael Reiland wrote: A few questions: - Is vibe.d the recommended way of doing web work? Yes. - Is that book worth purchasing? Yes. - Does D have a good library for accessing Postgres? I see several listed but I don't know what the most stable would be for

Re: D for Web Development?

2017-06-08 Thread Nicholas Wilson via Digitalmars-d-learn
is that Go vs D in the web space is more about personal preference than any particular advantage, and I'm coming from C++ so I think D would be more my cup of tea. But that's just my impression from some initial googling. thoughts? recommendations? If you're coming from C++ you should pick

Re: D for Web Development?

2017-06-08 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 8 June 2017 at 07:32:44 UTC, Michael Reiland wrote: - Is vibe.d the recommended way of doing web work? Yes - Is that book worth purchasing? Yes - Does D have a good library for accessing Postgres? I see several listed but I don't know what the most stable would be for

D for Web Development?

2017-06-08 Thread Michael Reiland via Digitalmars-d-learn
about Go and D and I've never attempted to use .Net Core. I'd like to evaluate D, but since I'm so ignorant I thought I'd post here for people's thoughts. It seems as though vibe.d is the most prevalent framework, and even has a book about it here: https://www.amazon.com/D-Web-Development

Re: D for web?

2014-01-14 Thread Uplink_Coder
there is vibe.d! look at the dconf2013 for a presentation about it and get it at vibed.org

D for web?

2014-01-14 Thread ProgrammingGhost
Is it possible to build websites using D? I know the website is written in D but there isn't a library for web that handles http request, parsing the page, query string etc?

Re: D for web?

2014-01-14 Thread Uplink_Coder
you were faster :D

Re: D for web?

2014-01-14 Thread bearophile
ProgrammingGhost: Is it possible to build websites using D? I know the website is written in D but there isn't a library for web that handles http request, parsing the page, query string etc? Take a look here: http://vibed.org/ Bye, bearophile

Re: D for web?

2014-01-14 Thread Dicebot
On Tuesday, 14 January 2014 at 16:30:10 UTC, ProgrammingGhost wrote: Is it possible to build websites using D? I know the website is written in D but there isn't a library for web that handles http request, parsing the page, query string etc? http://vibed.org does such stuff and much more on

Re: D for web?

2014-01-14 Thread Rikki Cattermole
On Tuesday, 14 January 2014 at 16:30:10 UTC, ProgrammingGhost wrote: Is it possible to build websites using D? I know the website is written in D but there isn't a library for web that handles http request, parsing the page, query string etc? If you want a framework built on top of Vibe check