Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30439 > unrolled thread
| Started by | jonas.thornvall@gmail.com |
|---|---|
| First post | 2016-05-16 08:49 -0700 |
| Last post | 2016-05-16 20:01 +0200 |
| Articles | 18 — 7 participants |
Back to article view | Back to comp.lang.javascript
Node.js jonas.thornvall@gmail.com - 2016-05-16 08:49 -0700
Re: Node.js jonas.thornvall@gmail.com - 2016-05-16 09:00 -0700
Re: Node.js jonas.thornvall@gmail.com - 2016-05-16 09:19 -0700
Re: Node.js jonas.thornvall@gmail.com - 2016-05-16 09:41 -0700
Re: Node.js jonas.thornvall@gmail.com - 2016-05-16 09:46 -0700
Re: Node.js Tim Slattery <tim@risingdove.com> - 2016-05-16 12:53 -0400
Re: Node.js Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-16 22:20 +0200
Re: Node.js Aleksandro <aleksandro@gmx.com> - 2016-05-16 18:08 -0400
Re: Node.js Tim Streater <timstreater@greenbee.net> - 2016-05-16 23:16 +0100
Re: Node.js Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-17 08:01 +0200
Re: Node.js Aleksandro <aleksandro@gmx.com> - 2016-05-17 16:16 -0400
Re: Node.js DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2016-05-18 02:25 +0100
Re: Node.js Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-18 20:08 +0200
Re: Node.js Aleksandro <aleksandro@gmx.com> - 2016-05-18 14:54 -0400
Re: Node.js Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-05-19 06:55 +0200
Re: Node.js jonas.thornvall@gmail.com - 2016-05-17 00:35 -0700
Re: Node.js Aleksandro <aleksandro@gmx.com> - 2016-05-17 16:51 -0400
Re: Node.js Luuk <luuk@invalid.lan> - 2016-05-16 20:01 +0200
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-16 08:49 -0700 |
| Subject | Node.js |
| Message-ID | <662bb095-fcbf-4eea-a597-07d07a7975e9@googlegroups.com> |
I just installed node js, and run the hello snippet. Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver?
[toc] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-16 09:00 -0700 |
| Message-ID | <7fab549c-269c-49ab-9b8d-45c30860f0f4@googlegroups.com> |
| In reply to | #30439 |
Den måndag 16 maj 2016 kl. 17:49:40 UTC+2 skrev jonas.t...@gmail.com: > I just installed node js, and run the hello snippet. > > Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver? My goal is to make HTML5 apps from some old HTML pages with invoked java scripts, is node js the tool to do that? The code lumps start to get big unmanagable and i thought breaking up the scripts into functionX.js called from a main would help. Is it possible?
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-16 09:19 -0700 |
| Message-ID | <2f390f05-400c-4d34-9e65-d5a066daaaed@googlegroups.com> |
| In reply to | #30440 |
Den måndag 16 maj 2016 kl. 18:00:22 UTC+2 skrev jonas.t...@gmail.com: > Den måndag 16 maj 2016 kl. 17:49:40 UTC+2 skrev jonas.t...@gmail.com: > > I just installed node js, and run the hello snippet. > > > > Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver? > > My goal is to make HTML5 apps from some old HTML pages with invoked java scripts, is node js the tool to do that? > > The code lumps start to get big unmanagable and i thought breaking up the scripts into functionX.js called from a main would help. Is it possible? Are all .js files serverside "executed on server", i want clientside "browser executed" javascript but i want to split the code/script over several files, is that possible?
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-16 09:41 -0700 |
| Message-ID | <e0dece50-4327-4e7c-ae09-f7ba70ac63a8@googlegroups.com> |
| In reply to | #30441 |
Den måndag 16 maj 2016 kl. 18:19:34 UTC+2 skrev jonas.t...@gmail.com:
> Den måndag 16 maj 2016 kl. 18:00:22 UTC+2 skrev jonas.t...@gmail.com:
> > Den måndag 16 maj 2016 kl. 17:49:40 UTC+2 skrev jonas.t...@gmail.com:
> > > I just installed node js, and run the hello snippet.
> > >
> > > Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver?
> >
> > My goal is to make HTML5 apps from some old HTML pages with invoked java scripts, is node js the tool to do that?
> >
> > The code lumps start to get big unmanagable and i thought breaking up the scripts into functionX.js called from a main would help. Is it possible?
>
> Are all .js files serverside "executed on server", i want clientside "browser executed" javascript but i want to split the code/script over several files, is that possible?
I found an example of a HTML5 app i liked, but i am not sure how it works.
Are the html5-canvas-drawing-app.js run serverside or downloaded to the client/browser and run?
How can i tell?
<!DOCTYPE html>
<html>
<head>
<title>Create HTML5 Canvas JavaScript Drawing App Example</title>
</head>
<body>
<div id="canvasDiv"></div>
<!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]-->
<script type="text/javascript" src="html5-canvas-drawing-app.js"></script>
<script type="text/javascript">
drawingApp.init();
</script>
</body>
</html>
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-16 09:46 -0700 |
| Message-ID | <0a25e0a3-d247-49f6-9cad-6595768e6b4b@googlegroups.com> |
| In reply to | #30442 |
Den måndag 16 maj 2016 kl. 18:41:28 UTC+2 skrev jonas.t...@gmail.com: > Den måndag 16 maj 2016 kl. 18:19:34 UTC+2 skrev jonas.t...@gmail.com: > > Den måndag 16 maj 2016 kl. 18:00:22 UTC+2 skrev jonas.t...@gmail.com: > > > Den måndag 16 maj 2016 kl. 17:49:40 UTC+2 skrev jonas.t...@gmail.com: > > > > I just installed node js, and run the hello snippet. > > > > > > > > Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver? > > > > > > My goal is to make HTML5 apps from some old HTML pages with invoked java scripts, is node js the tool to do that? > > > > > > The code lumps start to get big unmanagable and i thought breaking up the scripts into functionX.js called from a main would help. Is it possible? > > > > Are all .js files serverside "executed on server", i want clientside "browser executed" javascript but i want to split the code/script over several files, is that possible? > > I found an example of a HTML5 app i liked, but i am not sure how it works. > Are the html5-canvas-drawing-app.js run serverside or downloaded to the client/browser and run? > How can i tell? > > <!DOCTYPE html> > <html> > <head> > <title>Create HTML5 Canvas JavaScript Drawing App Example</title> > </head> > <body> > <div id="canvasDiv"></div> > <!--[if IE]><script type="text/javascript" src="excanvas.js"></script><![endif]--> > <script type="text/javascript" src="html5-canvas-drawing-app.js"></script> > <script type="text/javascript"> > drawingApp.init(); > </script> > </body> > </html> I may have an idea about what an HTML5 app is but it may be terrible wrong. It is an app starting up in the browser as a local service? It just download the package? So what should be serverside become clientside using a localhost webservice that is started by the app?
[toc] | [prev] | [next] | [standalone]
| From | Tim Slattery <tim@risingdove.com> |
|---|---|
| Date | 2016-05-16 12:53 -0400 |
| Message-ID | <5lujjbdjstq25ar3hq92nvvlh6cpq73vif@4ax.com> |
| In reply to | #30441 |
jonas.thornvall@gmail.com wrote: >Are all .js files serverside "executed on server", i want clientside >"browser executed" javascript but i want to split the code/script >over several files, is that possible? All (or nearly all) javascript is shipped to the client and executed there. You can have various chunks of code in various *.js files on the server, so long as the HTML page references all of them. -- Tim Slattery tim <at> risingdove <dot> com
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-05-16 22:20 +0200 |
| Message-ID | <13691380.NLzAtpMErn@PointedEars.de> |
| In reply to | #30444 |
Tim Slattery wrote: > jonas.thornvall@gmail.com wrote: >> Are all .js files serverside "executed on server", i want clientside >> "browser executed" javascript but i want to split the code/script >> over several files, is that possible? > > All (or nearly all) javascript is shipped to the client and executed > there. You can have various chunks of code in various *.js files on > the server, so long as the HTML page references all of them. There are no “HTML pages” (this is an outdated concept that has always been underdefined at best), and *client-side* script resources can now be loaded *on demand* in a reliable, non-blocking, and standards-compliant way. [1] (If ECMAScript implementations in Web browsers would also implement the “export” and “import” features of ECMAScript 2015, we could be writing script modules and have them loaded implicitly now instead of through RequireJS [2] and similar libraries. [3]) Since the References header field is borken, presumably because Google Groups borked the Message-ID, I cannot see if and how this pertains to Node.js, which is a *server-side* environment based on Google V8 JavaScript in that regard; Node.js modules are *never* “shipped to the client”. [4] The OP should read the FAQ and learn “How To Ask Questions The Smart Way”. The author of the precursor should read the FAQ, STFW, and update their knowledge base before giving further advice. __________ [1] <https://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html#the-script-element> [2] <http://requirejs.org/> [3] <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export> [4] <https://nodejs.org/en/> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-05-16 18:08 -0400 |
| Message-ID | <nhdg6r$nif$1@dont-email.me> |
| In reply to | #30448 |
On 16/05/16 16:20, Thomas 'PointedEars' Lahn wrote: > Tim Slattery wrote: > >> jonas.thornvall@gmail.com wrote: >>> Are all .js files serverside "executed on server", i want clientside >>> "browser executed" javascript but i want to split the code/script >>> over several files, is that possible? >> >> All (or nearly all) javascript is shipped to the client and executed >> there. You can have various chunks of code in various *.js files on >> the server, so long as the HTML page references all of them. > > There are no “HTML pages” (this is an outdated concept that has always been > underdefined at best), and *client-side* script resources can now be loaded > *on demand* in a reliable, non-blocking, and standards-compliant way. [1] > (If ECMAScript implementations in Web browsers would also implement the > “export” and “import” features of ECMAScript 2015, we could be writing > script modules and have them loaded implicitly now instead of through > RequireJS [2] and similar libraries. [3]) > > Since the References header field is borken, presumably because Google > Groups borked the Message-ID, I cannot see if and how this pertains to > Node.js, which is a *server-side* environment based on Google V8 JavaScript > in that regard; Node.js modules are *never* “shipped to the client”. [4] > > The OP should read the FAQ and learn “How To Ask Questions The Smart Way”. > > The author of the precursor should read the FAQ, STFW, and update their > knowledge base before giving further advice. > > __________ > [1] <https://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html#the-script-element> > [2] <http://requirejs.org/> > [3] <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export> > [4] <https://nodejs.org/en/> As always, your daily doze of copypasta plus arrogance is always appreciated. ;)
[toc] | [prev] | [next] | [standalone]
| From | Tim Streater <timstreater@greenbee.net> |
|---|---|
| Date | 2016-05-16 23:16 +0100 |
| Message-ID | <160520162316470359%timstreater@greenbee.net> |
| In reply to | #30449 |
In article <nhdg6r$nif$1@dont-email.me>, Aleksandro <aleksandro@gmx.com> wrote: >On 16/05/16 16:20, Thomas 'PointedEars' Lahn wrote: >> Tim Slattery wrote: >> >>> jonas.thornvall@gmail.com wrote: >>>> Are all .js files serverside "executed on server", i want clientside >>>> "browser executed" javascript but i want to split the code/script >>>> over several files, is that possible? >>> >>> All (or nearly all) javascript is shipped to the client and executed >>> there. You can have various chunks of code in various *.js files on >>> the server, so long as the HTML page references all of them. >> >> There are no “HTML pages” (this is an outdated concept that has always been >> underdefined at best), and *client-side* script resources can now be loaded >> *on demand* in a reliable, non-blocking, and standards-compliant way. [1] >> (If ECMAScript implementations in Web browsers would also implement the >> “export” and “import” features of ECMAScript 2015, we could be writing >> script modules and have them loaded implicitly now instead of through >> RequireJS [2] and similar libraries. [3]) >> >> Since the References header field is borken, presumably because Google >> Groups borked the Message-ID, I cannot see if and how this pertains to >> Node.js, which is a *server-side* environment based on Google V8 JavaScript >> in that regard; Node.js modules are *never* “shipped to the client”. [4] >> >> The OP should read the FAQ and learn “How To Ask Questions The Smart Way”. >> >> The author of the precursor should read the FAQ, STFW, and update their >> knowledge base before giving further advice. >> >> __________ >> [1] >> <https://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html#the-script-el >> ement> >> [2] <http://requirejs.org/> >> [3] >> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements >> /export> >> [4] <https://nodejs.org/en/> > >As always, your daily doze of copypasta plus arrogance is always >appreciated. ;) Daily dose, actually, although such a dose as this would certainly cause you to doze. :-) -- "Once you adopt the unix paradigm, the variants cease to be a problem - you bitch, of course, but that's because bitching is fun, unlike M$ OS's, where bitching is required to keep your head from exploding." - S Stremler in afc
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-05-17 08:01 +0200 |
| Message-ID | <2156715.pAYzgT3j25@PointedEars.de> |
| In reply to | #30449 |
Aleksandro wrote: > [Full quote] > > As always, your daily doze of copypasta plus arrogance is always > appreciated. ;) You have not read it, have you? -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-05-17 16:16 -0400 |
| Message-ID | <nhftvh$j9b$1@dont-email.me> |
| In reply to | #30451 |
On 17/05/16 02:01, Thomas 'PointedEars' Lahn wrote: > Aleksandro wrote: > >> [Full quote] >> >> As always, your daily doze of copypasta plus arrogance is always >> appreciated. ;) > > You have not read it, have you? The same I could ask about every time I ask why you unplonked me, it just happens that you ignore my question every time. <3
[toc] | [prev] | [next] | [standalone]
| From | DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> |
|---|---|
| Date | 2016-05-18 02:25 +0100 |
| Message-ID | <nhggd0$41s$1@gioia.aioe.org> |
| In reply to | #30462 |
On 17/05/2016 21:16, Aleksandro wrote: > The same I could ask about every time I ask why you unplonked me, it > just happens that you ignore my question every time. <3 > Probably because he likes you but ashamed to admit it. There are some weird people on the web who are stalking people!! Windows and Linux newsgroups are full of such people.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-05-18 20:08 +0200 |
| Message-ID | <2500793.cpomqS2BKY@PointedEars.de> |
| In reply to | #30467 |
DecadentLinuxUserNumeroUno wrote: > On 17/05/2016 21:16, Aleksandro wrote: >> The same I could ask about every time I ask why you unplonked me, it >> just happens that you ignore my question every time. <3 > > Probably because he likes you but ashamed to admit it. There are some > weird people on the web who are stalking people!! Windows and Linux > newsgroups are full of such people. Nothing could be farther from the truth. But then again, what to expect from a pseudonymous coward posting via the troll server, aioe.org. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-05-18 14:54 -0400 |
| Message-ID | <nhidhj$asf$1@dont-email.me> |
| In reply to | #30472 |
On 18/05/16 14:08, Thomas 'PointedEars' Lahn wrote: > DecadentLinuxUserNumeroUno wrote: > >> On 17/05/2016 21:16, Aleksandro wrote: >>> The same I could ask about every time I ask why you unplonked me, it >>> just happens that you ignore my question every time. <3 >> >> Probably because he likes you but ashamed to admit it. There are some >> weird people on the web who are stalking people!! Windows and Linux >> newsgroups are full of such people. > > Nothing could be farther from the truth. But then again, what to expect > from a pseudonymous coward posting via the troll server, aioe.org. Shut up, you love me, it has been proven.
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-05-19 06:55 +0200 |
| Message-ID | <3107534.ynhHUB4pM7@PointedEars.de> |
| In reply to | #30474 |
Aleksandro wrote: > On 18/05/16 14:08, Thomas 'PointedEars' Lahn wrote: >> DecadentLinuxUserNumeroUno wrote: >> >>> On 17/05/2016 21:16, Aleksandro wrote: >>>> The same I could ask about every time I ask why you unplonked me, it >>>> just happens that you ignore my question every time. <3 >>> >>> Probably because he likes you but ashamed to admit it. There are some >>> weird people on the web who are stalking people!! Windows and Linux >>> newsgroups are full of such people. >> >> Nothing could be farther from the truth. But then again, what to expect >> from a pseudonymous coward posting via the troll server, aioe.org. > > Shut up, you love me, it has been proven. You want proof to the contrary? OK, then. Why don’t you finally shut up, fuck off, and die? Your kind is neither needed nor wanted here. Or, alternatively, finally start behaving like a civilized person. -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | jonas.thornvall@gmail.com |
|---|---|
| Date | 2016-05-17 00:35 -0700 |
| Message-ID | <0613e982-3693-4b1d-ac8d-68c04e35fce5@googlegroups.com> |
| In reply to | #30448 |
Den måndag 16 maj 2016 kl. 22:20:36 UTC+2 skrev Thomas 'PointedEars' Lahn: > Tim Slattery wrote: > > > jonas.thornvall@gmail.com wrote: > >> Are all .js files serverside "executed on server", i want clientside > >> "browser executed" javascript but i want to split the code/script > >> over several files, is that possible? > > > > All (or nearly all) javascript is shipped to the client and executed > > there. You can have various chunks of code in various *.js files on > > the server, so long as the HTML page references all of them. > > There are no “HTML pages” (this is an outdated concept that has always been > underdefined at best), and *client-side* script resources can now be loaded > *on demand* in a reliable, non-blocking, and standards-compliant way. [1] > (If ECMAScript implementations in Web browsers would also implement the > “export” and “import” features of ECMAScript 2015, we could be writing > script modules and have them loaded implicitly now instead of through > RequireJS [2] and similar libraries. [3]) > > Since the References header field is borken, presumably because Google > Groups borked the Message-ID, I cannot see if and how this pertains to > Node.js, which is a *server-side* environment based on Google V8 JavaScript > in that regard; Node.js modules are *never* “shipped to the client”. [4] > > The OP should read the FAQ and learn “How To Ask Questions The Smart Way”. > > The author of the precursor should read the FAQ, STFW, and update their > knowledge base before giving further advice. > > __________ > [1] <https://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html#the-script-element> > [2] <http://requirejs.org/> > [3] <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export> > [4] <https://nodejs.org/en/> > -- > PointedEars > FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> > Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> > Please do not cc me. / Bitte keine Kopien per E-Mail. Thanks for the clarification so node.js is servers side. Used to shuffle form data between clients, save it and manipulate it? Other examples?
[toc] | [prev] | [next] | [standalone]
| From | Aleksandro <aleksandro@gmx.com> |
|---|---|
| Date | 2016-05-17 16:51 -0400 |
| Message-ID | <nhg01m$qtr$1@dont-email.me> |
| In reply to | #30452 |
On 17/05/16 03:35, jonas.thornvall@gmail.com wrote: > Den måndag 16 maj 2016 kl. 22:20:36 UTC+2 skrev Thomas 'PointedEars' Lahn: >> Tim Slattery wrote: >> >>> jonas.thornvall@gmail.com wrote: >>>> Are all .js files serverside "executed on server", i want clientside >>>> "browser executed" javascript but i want to split the code/script >>>> over several files, is that possible? >>> >>> All (or nearly all) javascript is shipped to the client and executed >>> there. You can have various chunks of code in various *.js files on >>> the server, so long as the HTML page references all of them. >> >> There are no “HTML pages” (this is an outdated concept that has always been >> underdefined at best), and *client-side* script resources can now be loaded >> *on demand* in a reliable, non-blocking, and standards-compliant way. [1] >> (If ECMAScript implementations in Web browsers would also implement the >> “export” and “import” features of ECMAScript 2015, we could be writing >> script modules and have them loaded implicitly now instead of through >> RequireJS [2] and similar libraries. [3]) >> >> Since the References header field is borken, presumably because Google >> Groups borked the Message-ID, I cannot see if and how this pertains to >> Node.js, which is a *server-side* environment based on Google V8 JavaScript >> in that regard; Node.js modules are *never* “shipped to the client”. [4] >> >> The OP should read the FAQ and learn “How To Ask Questions The Smart Way”. >> >> The author of the precursor should read the FAQ, STFW, and update their >> knowledge base before giving further advice. >> >> __________ >> [1] <https://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html#the-script-element> >> [2] <http://requirejs.org/> >> [3] <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export> >> [4] <https://nodejs.org/en/> >> -- >> PointedEars >> FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> >> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> >> Please do not cc me. / Bitte keine Kopien per E-Mail. > > Thanks for the clarification so node.js is servers side. Used to shuffle form data between clients, save it and manipulate it? > > Other examples? Have you tried any of the countless tutorials in the web?
[toc] | [prev] | [next] | [standalone]
| From | Luuk <luuk@invalid.lan> |
|---|---|
| Date | 2016-05-16 20:01 +0200 |
| Message-ID | <573a0af7$0$5906$e4fe514c@news.xs4all.nl> |
| In reply to | #30440 |
On 16-05-16 18:00, jonas.thornvall@gmail.com wrote: > Den måndag 16 maj 2016 kl. 17:49:40 UTC+2 skrev jonas.t...@gmail.com: >> I just installed node js, and run the hello snippet. >> >> Could someone point me to simplest possible example where a HTML file "is used to call?" a js file. Will i need a webserver, is node.js a webserver? > > My goal is to make HTML5 apps from some old HTML pages with invoked java scripts, is node js the tool to do that? > > The code lumps start to get big unmanagable and i thought breaking up the scripts into functionX.js called from a main would help. Is it possible? > https://www.toptal.com/nodejs/why-the-hell-would-i-use-node-js
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web