Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21963
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail |
|---|---|
| Content-Type | text/plain; charset="UTF-8" |
| Message-ID | <1778804.q0Nx8XmBib@PointedEars.de> (permalink) |
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Organization | PointedEars Software (PES) |
| Date | Mon, 11 Nov 2013 17:32:11 +0100 |
| User-Agent | KNode/4.10.5 |
| Content-Transfer-Encoding | 8Bit |
| X-Face | %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&.<b';Md8`dH6iqhT)6C^.Px|[=M@7=Ik[_w<%n1Up"LPQNu2m8|L!/3iby{-]A+#YE}Kl{Cw$\U!kD%K}\2jz"QQP6Uqr],./"?;=4v |
| Face | iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEXTxa4RFk5dUWANED8PFEfy7+MGBiW+n3ZNF/QuAAACaElEQVQ4jVXUwVOcMBQG8Dc7Rc4PUntdWV2uxjDpGaGeozOp1woar4jd5t/v9wLstMwsA/ntlxdCAgUc1hjTc9/JCZfGoo3wG3HdmdAWrIJRHe7GM/TmpY5VFefuVcAkkPbLIaN8rmPmjloyZxgyR3GuJ4K0AGtJ2htz8o7yqikm759fldQXaMpbDzjKAG+8v+AugVTOPO5DOjLvGtUYQwh0CPjnVMyGd+8/GfUB5nLKJDD2aLDh5HYyMDJGDwQIo2ZmZcKbowNmAdB/AzyFhrmF2MHRb0QJJfaAnwGB6orZhoykLzJtGwF/xpYxI1dswomiUj3gTuAIqCn/4C7cULwGNBtwMTk3Y4LfKB5YUaOKBKYtpplm7u0vip8tU1NWWyI/7XdcSuIDoMt6rVHMWT0DbjHPGqDqZVSa6zleLcUTcIKLoMv3ueJluALtAo9B302zPPlrtiVScRdCjXvVh3e3JpYa/jjkuC9N+LrBMlz/eAN4eQijX2EdLo6c5tGGHwLyHFtXk89dDGHwCVhG9T0S/j55AhRZgkMCmUQXJ49TnS1wnQDvw0eAh9ICeMmEFbCnPMFzjAvsWoEWEFdYEx+S0MoUZ1gT1wId8+AF3Bl2OoEu906AUHx5VLw/gXYg/x84loOah/2UYNrgiwSwGO7RfUzVBbx/kgpckumGOi6QirtD6gkLTitbnxNol47S2jVc2vsN5kPqaAHT8uUdAJM4v/DanjYOwmUjWznGfwB7sGtAtor5BgofDuzaRj4kSQAqDakTsKORa3Q3xKi3gE1fhl71KRMqrdZ2AWNNg/YOhQyrVBnb+i+nEg4bsDA+egAAAABJRU5ErkJggg== |
| Subject | Re: Is it possible to pop up windows in node.js? |
| Newsgroups | comp.lang.javascript |
| References | <d1a010fc-4554-4677-ad22-b8351e7e24e2@googlegroups.com> <711754ff-1c48-4377-a327-3d5c4b49fad9@googlegroups.com> <7844568.JiaYqQEp0h@PointedEars.de> <bc18d773-6749-49e9-890d-8dd0b76cf6f3@googlegroups.com> |
| MIME-Version | 1.0 |
| Lines | 43 |
| NNTP-Posting-Date | 11 Nov 2013 17:32:14 CET |
| NNTP-Posting-Host | 1baf442b.newsspool2.arcor-online.net |
| X-Trace | DXC=>ZGJ5U;UPA_AX0F2i><W:SA9EHlD;3YcR4Fo<]lROoRQ8kF<OcfhCO[EUa5a2c^Aa_DZm8W4\YJN\YUVHKH;GI^W\>@[hLNg?mYan2j:84:GKU |
| X-Complaints-To | usenet-abuse@arcor.de |
| Xref | csiph.com comp.lang.javascript:21963 |
Show key headers only | View raw
Michael Haufe (TNO) wrote:
> Thomas 'PointedEars' Lahn wrote:
>> How do you “pop-up windows *in* node.js”?
>
> By the usual way for a traditional HTML browser <-> server setup using a
> request/response relationship. Off the cuff:
>
> var http = require("http");
> var server = http.createServer(function(request, response) {
> response.writeHead(200, {"Content-Type": "text/html"});
> response.write(
> "<!DOCTYPE html>" +
> "<html lang='en' dir='ltr'>" +
> "<head>" +
> "<met charset='utf-8'>" +
> "<title>Hola Mundo</title>" +
> "</head>" +
> "<body>" +
> "<script type='text/javascript'>alert('Hello World')</script>" +
> "</body>" +
> "</html>");
> response.end();
> });
>
> server.listen(80);
Because I expected something simple like this, I had emphasized *in*. This
is not popping up a window *in* node.js, it is popping up one *with the help
of* node.js.
> For a non-server setup: one can use the functionality of one of the
> numerous GUI frameworks:
>
> <https://github.com/zcbenz/node-gui/#a-simple-example>
ACK. It is, however, not enough to justify your “yes”.
--
PointedEars
Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is it possible to pop up windows in node.js? bit-naughty@hotmail.com - 2013-11-09 07:42 -0800
Re: Is it possible to pop up windows in node.js? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-10 23:24 -0800
Re: Is it possible to pop up windows in node.js? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-11 10:16 +0100
Re: Is it possible to pop up windows in node.js? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2013-11-11 12:31 +0000
Re: Is it possible to pop up windows in node.js? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-11 08:26 -0800
Re: Is it possible to pop up windows in node.js? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-11 17:32 +0100
Re: Is it possible to pop up windows in node.js? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-11 10:06 -0800
Re: Is it possible to pop up windows in node.js? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-11 20:21 +0100
Re: Is it possible to pop up windows in node.js? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-11 12:49 -0800
Re: Is it possible to pop up windows in node.js? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-11 22:52 +0100
Re: Is it possible to pop up windows in node.js? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-11 17:14 -0800
csiph-web