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


Groups > comp.lang.javascript > #35928

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

From rbowman <bowman@montana.com>
Newsgroups comp.lang.javascript
Subject Re: Laying out node.js like PHP..?
Date 2018-12-22 11:58 -0700
Message-ID <g87fopF706dU1@mid.individual.net> (permalink)
References <bcd9af5a-c8ed-469b-ae91-edaa5bdef6b5@googlegroups.com> <17mzlt13e4wyt.3hahuzc9ws0r.dlg@40tude.net> <5c1e04a5$0$22337$e4fe514c@news.xs4all.nl>

Show all headers | View raw


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.

Be nice to know what he's trying to do.

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