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


Groups > comp.lang.javascript > #20638 > unrolled thread

Using Javascript to connect Postgres database

Started byambika.singhal@gmail.com
First post2013-07-12 10:27 -0700
Last post2013-07-12 21:41 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  Using Javascript to connect Postgres database ambika.singhal@gmail.com - 2013-07-12 10:27 -0700
    Re: Using Javascript to connect Postgres database "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-07-12 20:28 +0200
    Re: Using Javascript to connect Postgres database Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-07-12 21:41 +0200

#20638 — Using Javascript to connect Postgres database

Fromambika.singhal@gmail.com
Date2013-07-12 10:27 -0700
SubjectUsing Javascript to connect Postgres database
Message-ID<a291eab5-fdea-43f2-8167-8bd5e5591f82@googlegroups.com>
Hello Everyone,

I have a database in Postgres, from which I want to retrieve some records and how it to my html page. Is there a way I can do it through JavaScript. If yes please let me know what will be my connection string. If no what are my options. 

I am totally new to the web world and need some help

[toc] | [next] | [standalone]


#20639

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2013-07-12 20:28 +0200
Message-ID<XnsA1FBD037AF741eejj99@194.109.133.133>
In reply to#20638
 ambika.singhal wrote on 12 jul 2013 in comp.lang.javascript:
> I have a database in Postgres, from which I want to retrieve some
> records and how it to my html page. Is there a way I can do it through
> JavaScript. If yes please let me know what will be my connection
> string. If no what are my options. 

It depends on where the Postgres programme runs,
as compared to where the Javascript runs.

> I am totally new to the web world 

Have you never used a browser yet?

> and need some help

Wouldn't Google need to be your friend?

<http://stackoverflow.com/questions/5029358/is-there-a-possibility-of-
connecting-postgresql-directly-to-javascript>

In short, you will need to study some years.

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#20641

FromThomas 'PointedEars' Lahn <PointedEars@web.de>
Date2013-07-12 21:41 +0200
Message-ID<2053871.L9ydOc9gMD@PointedEars.de>
In reply to#20638
ambika.singhal@gmail.com wrote:

> I have a database in Postgres, from which I want to retrieve some records
> and how it to my html page. Is there a way I can do it through JavaScript.

Yes, and the last character in this line should have been a question mark.

> If yes please let me know what will be my connection string.

That depends on the API you are using, which is provided by the runtime 
environment.  JavaScript (or another ECMAScript implementation) can only be 
the interfacing language then.

> I am totally new to the web world and need some help

Read

<http://jibbering.com/faq/>
<http://PointedEars.de/faq>

and please do not use Google Groups for posting to a Usenet newsgroup like 
this one.  Use a newsreader, like Thunderbird or KNode.

-- 
PointedEars

Twitter: @PointedEars2
Please do not Cc: me. / Bitte keine Kopien per E-Mail.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web