nodes js module for desktop apps

118 views
Skip to first unread message

Rohit Harchandani

unread,
Jul 7, 2014, 7:24:54 PM7/7/14
to nod...@googlegroups.com
Hi,
I am new to node.js. I was wondering if there are any modules which are used in production to create desktop applications with widgets/event handlers etc. I see there are modules for qt and gtk, but they do not seem complete enough to use with all types of widgets. Which of these modules are recommended for use?
Thanks,
Rohit

Ingwie Phoenix

unread,
Jul 7, 2014, 9:33:39 PM7/7/14
to nod...@googlegroups.com
Have you taken a look at node-webkit?
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/4e46a11c-9e10-47b9-a5b5-ad720494926e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rohit Harchandani

unread,
Jul 8, 2014, 10:42:36 PM7/8/14
to nod...@googlegroups.com
Hi, Yes I have looked at it but i am looking for a solution which does not depend on DOM and html. 
Thanks,
Rohit


zladuric

unread,
Jul 9, 2014, 1:46:46 AM7/9/14
to nod...@googlegroups.com
So just node.js binary, but packet with your app?

Peter Rust

unread,
Jul 9, 2014, 9:27:04 AM7/9/14
to nod...@googlegroups.com
Rohit,

> Which of these modules are recommended for use?

I haven't used Qt or GTK with Node, so I can't give any recommendations there...

There may be some alternatives: it looks like there are bindings for wxWidgets, OpenVG and some OpenGL-related libraries (GLFW, GLEW and SDL). Though OpenGL is typically used for 3D, my impression is that it can also be used for 2D. I doubt there are mature widget libraries for OpenVG/OpenGL implemented in node, but you might be able to write bindings for one in C++. If you're targeting a single platform, it may be simpler to look for node bindings to the native platform API which should provide native controls.

Node isn't strong in the area of native desktop apps - not that there are inherent problems, but these aren't a strong focus for the community at present. Perhaps this is partly due to Node's async leanings, which are very attractive for a server that may need to scale to thousands of simultaneous connections (at least in the wildest dreams of the developers), but just adds unnecessary complexity for desktop apps.

Angel Java Lopez

unread,
Jul 9, 2014, 11:17:15 AM7/9/14
to nod...@googlegroups.com
One path to explore:

Use edge
Run .NET and Node.js code in-process on Windows, MacOS, and Linux

and script .NET WinForms or other types, to build desktop application. Ummm..... I don't know how to attend a .NET event from JavaScript (ie click on button)

Angel "Java" Lopez
@ajlopez



On Wed, Jul 9, 2014 at 2:46 AM, zladuric <zlad...@gmail.com> wrote:
So just node.js binary, but packet with your app?
--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages