Node.js as a run time library?

75 views
Skip to first unread message

wtfux

unread,
Jul 27, 2012, 6:11:05 AM7/27/12
to nod...@googlegroups.com
Hey guys,
I want to write applications that actually don't need evented I/O (or not always) like regular GUI applications in Javascript, because, well I like Javascript.
My question is if it's a good idea to build upon Node.js. Technically I could also use v8 directly but then I can't make use of those awesome Node modules that are out there and all the stuff that's already built into Node.
It's like using Node as a runtime library. Good idea resp. the right way?

Joe Developer

unread,
Jul 27, 2012, 6:14:37 AM7/27/12
to nod...@googlegroups.com
http://appjs.org

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 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 post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

wtfux

unread,
Jul 27, 2012, 8:16:49 AM7/27/12
to nod...@googlegroups.com
I know AppJS but I don't see how this is related.
I'm thinking more of a way like how you use languages like python. You have python installed and with the right libraries you can write GUI applications with it (GTK, wxWidgets and so on). Replace python with Node.js here. I've already started to work on a wxWidget module for Node.js but I'm not sure if Node is suited as a base.



On Friday, July 27, 2012 12:14:37 PM UTC+2, joedev wrote:
http://appjs.org

On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfu...@googlemail.com> wrote:
Hey guys,
I want to write applications that actually don't need evented I/O (or not always) like regular GUI applications in Javascript, because, well I like Javascript.
My question is if it's a good idea to build upon Node.js. Technically I could also use v8 directly but then I can't make use of those awesome Node modules that are out there and all the stuff that's already built into Node.
It's like using Node as a runtime library. Good idea resp. the right way?

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 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 post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to

Joe Developer

unread,
Jul 27, 2012, 8:24:32 AM7/27/12
to nod...@googlegroups.com
On Fri, Jul 27, 2012 at 7:16 PM, wtfux <wtfu...@googlemail.com> wrote:
I know AppJS but I don't see how this is related.
I'm thinking more of a way like how you use languages like python. You have python installed and with the right libraries you can write GUI applications with it (GTK, wxWidgets and so on). Replace python with Node.js here. I've already started to work on a wxWidget module for Node.js but I'm not sure if Node is suited as a base.

As I remember talk of such bindings and mentions of progress have come up on the ML a few times. 

I would be surprised if google didn't turn up something. Personally I don't have much experience writing programs against GTK, wxWidgets etc. - So I can't give you meaningful feedback in that regard, I did write some Ruby apps against FOX ages ago, but frankly I preferred writing GUIs using web tech.


 



On Friday, July 27, 2012 12:14:37 PM UTC+2, joedev wrote:
http://appjs.org

On Fri, Jul 27, 2012 at 5:11 PM, wtfux <wtfu...@googlemail.com> wrote:
Hey guys,
I want to write applications that actually don't need evented I/O (or not always) like regular GUI applications in Javascript, because, well I like Javascript.
My question is if it's a good idea to build upon Node.js. Technically I could also use v8 directly but then I can't make use of those awesome Node modules that are out there and all the stuff that's already built into Node.
It's like using Node as a runtime library. Good idea resp. the right way?

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 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 post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 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 post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to

Oliver Leics

unread,
Jul 27, 2012, 8:25:07 AM7/27/12
to nod...@googlegroups.com
Take one oz of appjs and throw in the javascript/dom based gui library
of you choice.

Now shake (or maybe stir) and voila: A GUI application.
>>> nodejs+un...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to nod...@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en



--
Oliver Leics @ G+
https://plus.google.com/112912441146721682527

Zhao Cheng

unread,
Jul 27, 2012, 8:26:32 AM7/27/12
to nod...@googlegroups.com
Build node as a library is easy, change the line "'type':
'executable'" in "node.gyp" to "'type': 'shared_library'", and then
use gyp to generate project files.
--
赵成
东南大学
Reply all
Reply to author
Forward
0 new messages