www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Desktop app with vibe.d

reply GreatSam4sure <greatsam4sure gmail.com> writes:
Pls I want to know if it is possible to build desktop app with 
vibe.d just like nodejs. I am not satisfy with the GUI of Dlang 
such as dlangui and gtkd. I don't think they have good styling 
capabilities like HTML and CSS.

I will be happy if I can build an app in D with fanciful ui. I 
will also be happy if you know any other way to build a fanciful 
ui in D like adobe flex, javafx, etc.
Aug 12 2019
next sibling parent Max Haughton <maxhaton gmail.com> writes:
On Monday, 12 August 2019 at 10:41:57 UTC, GreatSam4sure wrote:
 Pls I want to know if it is possible to build desktop app with 
 vibe.d just like nodejs. I am not satisfy with the GUI of Dlang 
 such as dlangui and gtkd. I don't think they have good styling 
 capabilities like HTML and CSS.

 I will be happy if I can build an app in D with fanciful ui. I 
 will also be happy if you know any other way to build a 
 fanciful ui in D like adobe flex, javafx, etc.
vibe.d is a backend framework so unless you ran it and had the user connect via a web browser I don't think so. Honestly, avoid web technology on the desktop like the plague. It's slow and memory hogging.
Aug 12 2019
prev sibling next sibling parent reply DanielG <simpletangent gmail.com> writes:
On Monday, 12 August 2019 at 10:41:57 UTC, GreatSam4sure wrote:
 I will be happy if I can build an app in D with fanciful ui. I 
 will also be happy if you know any other way to build a 
 fanciful ui in D like adobe flex, javafx, etc.
I haven't seen anybody doing it yet, but in theory you could launch a browser / Electron instance / etc, and have it connect via gRPC to code written in D. Then you could have a fancy React UI and use D to do the heavy lifting.
Aug 12 2019
parent reply Russel Winder <russel winder.org.uk> writes:
On Mon, 2019-08-12 at 20:01 +0000, DanielG via Digitalmars-d-learn wrote:
 On Monday, 12 August 2019 at 10:41:57 UTC, GreatSam4sure wrote:
 I will be happy if I can build an app in D with fanciful ui. I=20
 will also be happy if you know any other way to build a=20
 fanciful ui in D like adobe flex, javafx, etc.
=20 I haven't seen anybody doing it yet, but in theory you could=20 launch a browser / Electron instance / etc, and have it connect=20 via gRPC to code written in D. =20 Then you could have a fancy React UI and use D to do the heavy=20 lifting.
GtkD allows for "reactive" UI. https://www.reactivemanifesto.org/ There is also Qt, I haven't tried any of the D bindings to Qt, but given Qt= is event loop based I am sure it allows for "reactive" UI as well =E2=80=93 it= definitely does using Python/PySIDE2. GTK+ doesn't have the equivalent of the stage/engine of QML. QML is Qt's version of JavaFX, so you do not need a browser to get a dynamic reactive U= I. =20 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Aug 13 2019
parent GreatSam4sure <greatsam4sure gmail.com> writes:
On Tuesday, 13 August 2019 at 09:44:59 UTC, Russel Winder wrote:
 On Mon, 2019-08-12 at 20:01 +0000, DanielG via 
 Digitalmars-d-learn wrote:
 [...]
GtkD allows for "reactive" UI. https://www.reactivemanifesto.org/ There is also Qt, I haven't tried any of the D bindings to Qt, but given Qt is event loop based I am sure it allows for "reactive" UI as well – it definitely does using Python/PySIDE2. GTK+ doesn't have the equivalent of the stage/engine of QML. QML is Qt's version of JavaFX, so you do not need a browser to get a dynamic reactive UI.
I want my back end to be in D. I want to write the app in D. I am
Aug 13 2019
prev sibling parent wjoe <invalid example.com> writes:
On Monday, 12 August 2019 at 10:41:57 UTC, GreatSam4sure wrote:
 Pls I want to know if it is possible to build desktop app with 
 vibe.d just like nodejs. I am not satisfy with the GUI of Dlang 
 such as dlangui and gtkd. I don't think they have good styling 
 capabilities like HTML and CSS.

 I will be happy if I can build an app in D with fanciful ui. I 
 will also be happy if you know any other way to build a 
 fanciful ui in D like adobe flex, javafx, etc.
Kai Nacke has a chapter (it's chapter 8) in his book "D Web Development / Packt Publishing"
Aug 14 2019