digitalmars.D.learn - Poste some interesting vibe.d webpages
- Alain De Vos (8/8) Sep 09 2022 I find documentation of vibe.d between worse and bad, while the
- Alain De Vos (3/3) Sep 14 2022 Although the framework is good. There is no community. Or general
- David (13/16) Sep 20 2022 Hi Alain,
- Ben Jones (4/12) Sep 20 2022 Here's a Vibe.d version of a dice game that I wrote early on in
- Alain De Vos (26/26) Sep 22 2022 It's possible to remove the "@" annotation & use the default
- Alain De Vos (3/3) Sep 23 2022 Note.
I find documentation of vibe.d between worse and bad, while the framework is relative OK. There are a few good links on the internet. I post two of them. Feel free to add other web links in order to increase our knowledge. https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d https://aberba.com/2016/form-upload-in-vibe-d/
Sep 09 2022
Although the framework is good. There is no community. Or general acceptance. Which is a pitty. Currently I ask myself how to do "sessions" with vibe.d.
Sep 14 2022
On Wednesday, 14 September 2022 at 19:34:01 UTC, Alain De Vos wrote:Although the framework is good. There is no community. Or general acceptance. Which is a pitty. Currently I ask myself how to do "sessions" with vibe.d.Hi Alain, I'm new to D and looking at vibe as well but I'm not as far down the path as settling on it as the final solution. Have you looked at alternatives to vibe such as the hunt framework ? https://code.dlang.org/packages/hunt-framework It does seem better documented and fuller featured than vibe but that could be due to me not having an in-depth knowledge of either of them :-) Regards, D
Sep 20 2022
On Friday, 9 September 2022 at 13:40:45 UTC, Alain De Vos wrote:I find documentation of vibe.d between worse and bad, while the framework is relative OK. There are a few good links on the internet. I post two of them. Feel free to add other web links in order to increase our knowledge. https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d https://aberba.com/2016/form-upload-in-vibe-d/Here's a Vibe.d version of a dice game that I wrote early on in the pandemic. I would have added session support next if I'd continued to work on it: https://github.com/benjones/farkle
Sep 20 2022
It's possible to remove the " " annotation & use the default names of functions for the vibe framework, E.g, ``` final class WebChat { // GET / void get() { render!("index.dt", names); } void getEdit(string myid) { int id = myid.to!int; string firstname = names[id].firstname; string lastname = names[id].lastname; render!("edit.dt", id, firstname, lastname); } void postEdit(string myid, string firstname, string lastname) { int id = myid.to!int; names[id].firstname = firstname; names[id].lastname = lastname; render!("index.dt", names); } ```
Sep 22 2022
Note. How to do authentications & sessions ,is important, but badly described.
Sep 23 2022