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


Groups > comp.lang.javascript > #35928

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

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From rbowman <bowman@montana.com>
Newsgroups comp.lang.javascript
Subject Re: Laying out node.js like PHP..?
Date Sat, 22 Dec 2018 11:58:48 -0700
Lines 17
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>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net L0o0svysryY3xHkS4T3fdgraonXaPy7FwrOkJc8pwCT5kvdxuA
Cancel-Lock sha1:vPVIhy4zRwK5/+15DsBmPq7hwDo=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
In-Reply-To <5c1e04a5$0$22337$e4fe514c@news.xs4all.nl>
Xref csiph.com comp.lang.javascript:35928

Show key headers only | 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