Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #35930

Re: Laying out node.js like PHP..?

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Laying out node.js like PHP..?
Date 2018-12-22 20:16 +0100
Organization PointedEars Software (PES)
Message-ID <275eb02a-36bd-eca0-0724-438c30b6ffbc@PointedEars.de> (permalink)
References <bcd9af5a-c8ed-469b-ae91-edaa5bdef6b5@googlegroups.com> <17mzlt13e4wyt.3hahuzc9ws0r.dlg@40tude.net> <5c1e04a5$0$22337$e4fe514c@news.xs4all.nl> <g87fopF706dU1@mid.individual.net>

Show all headers | View raw


rbowman wrote:
> On 12/22/2018 02:32 AM, Luuk wrote:
>> On 21-12-2018 23:44, JJ wrote:
>>> Node.js is a server script. It doesn't have a `console` object.
>> what is this piece of doc than describing?
>>
>> https://nodejs.org/api/console.html
> 
> I think the OP is confused between the node executable, the server side 
> script that it runs, which isn't usually called node.js although I 
> suppose you could, and the various approaches to serving up dynamic 
> pages. I prefer Express and Handlebars but I'm old school.
> […]

The same as ECMAScript is NOT limited to the client side (evidence:
Node.js), PHP is NOT limited to the server side (evidence: Composer),
and Node.js is NOT limited to the server side (evidence: npm).

I find it rather difficult to name a programming language or framework
that can be used *only* either client-side or server-side.

People who are saying otherwise usually have no clue what they are talking
about.

-- 
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


Thread

Laying out node.js like PHP..? groovee@cyberdude.com - 2018-12-21 01:24 -0800
  Re: Laying out node.js like PHP..? JJ <jj4public@vfemail.net> - 2018-12-22 05:44 +0700
    Re: Laying out node.js like PHP..? Luuk <luuk@invalid.lan> - 2018-12-22 10:32 +0100
      Re: Laying out node.js like PHP..? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2018-12-22 12:40 +0100
      Re: Laying out node.js like PHP..? rbowman <bowman@montana.com> - 2018-12-22 11:58 -0700
        Re: Laying out node.js like PHP..? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-12-22 20:16 +0100
          Re: Laying out node.js like PHP..? Ram Tobolski <ramtob@gmail.com> - 2018-12-23 02:22 -0800
            Re: Laying out node.js like PHP..? Julio Di Egidio <julio@diegidio.name> - 2018-12-23 05:40 -0800
            Re: Laying out node.js like PHP..? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-12-25 00:02 +0100
    Re: Laying out node.js like PHP..? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-12-22 20:03 +0100

csiph-web