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


Groups > comp.lang.javascript > #40476

Re: Node.js

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Node.js
Date Thu, 14 Oct 2021 15:41:41 +0200
Lines 35
Message-ID <isqqclFc77sU1@mid.individual.net> (permalink)
References <5f57e300-fd03-466c-96af-75fd67f72420n@googlegroups.com> <c8cfb8c6-deed-4d1f-846d-257b942c79d9n@googlegroups.com> <59c3716a-2c09-432c-8822-06b48a007bb2n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net pQaU9xwgmqtp3vIziYSztg5/7ad8gnX2444Da7yHuirG5W3zH6
Cancel-Lock sha1:AdSnVWuFd0QRtXwOuKz+jiRdbZc=
In-Reply-To <59c3716a-2c09-432c-8822-06b48a007bb2n@googlegroups.com>
Xref csiph.com comp.lang.javascript:40476

Show key headers only | View raw


Jonas Thörnvall:

> Well i understand howto "echo" information from server now, but i do
> not quite remember howto request things  using client "browser". I

Then learn it!

The things you need to understand:

- HTTP
- URL
- query parameters
- CGI

> remember that i in PHP did fetch information from a database using
> forms and input fields that was dynamically created, so i must sent
> requests via javascript to server? But i do not remember what such a
> call "request" looked like.

You just send a request with your browser and the server will process
it. This request can be:

- URL with or without any query parameter (<a href="...">...</a>).
- A form which gets submitted (<form action="..." ...></form>)
- An XHR request using JavaScript
> How would i done the above as a request, via a HTML page with script,
> for example a button push echoed answer to textarea?

Go and get a book about how HTTP, CGI etc. works. To explain this *here*
is WAY OFF TOPIC!


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-13 19:24 -0700
  Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-14 00:12 -0700
    Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 01:27 -0700
      Re: Node.js Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-14 11:18 +0100
        Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 05:26 -0700
          Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:37 +0200
          Re: Node.js Ben Bacarisse <ben.usenet@bsb.me.uk> - 2021-10-14 15:02 +0100
            Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:37 -0700
              Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:46 -0700
      Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:34 +0200
      Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-14 23:59 -0700
      Re: Node.js Scott Sauyet <scott.sauyet@gmail.com> - 2021-10-15 18:12 -0700
        Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-15 19:18 -0700
        Re: Node.js Jon Ribbens <jon+usenet@unequivocal.eu> - 2021-10-16 15:04 +0000
          Re: Node.js Julio Di Egidio <julio@diegidio.name> - 2021-10-19 23:09 -0700
    Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 01:43 -0700
      Re: Node.js Arno Welzel <usenet@arnowelzel.de> - 2021-10-14 15:41 +0200
        Re: Node.js Jonas Thörnvall <jonas.thornvall@gmail.com> - 2021-10-14 07:02 -0700

csiph-web