pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sean Davis <sdavis2@mail.nih.gov>
To: Reg Me Please <regmeplease@gmail.com>
Cc: Allan Kamau <kamauallan@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] PGSQL and Javascript
Date: Fri, 30 Jan 2009 07:24:59 -0500
Message-ID: <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com> (raw)
In-Reply-To: <200901301309.47273.regmeplease@gmail.com>
References: <200901301240.37112.regmeplease@gmail.com>
	<ab1ea6540901300353w71bb5991j392795006ffb3ad3@mail.gmail.com>
	<200901301309.47273.regmeplease@gmail.com>

On Fri, Jan 30, 2009 at 7:09 AM, Reg Me Please <regmeplease@gmail.com>wrote:

> I'd like to write part of the application in Javascript, server side, not
> in
> the web page.
>

I missed your point.  Do a google search for javascript interpreters in the
language of your choice.  For example, there is Rhino for java.

Sean



>
> On Friday 30 January 2009 12:53:05 Allan Kamau wrote:
> > May be Javascript + JDBC not sure.
> >
> > But the question is why would you want to do so?
> > Javascript can be read easily by the user having the javascript
> > running on their browser. JDBC or any other database connecting client
> > will want to some how authenticate the user in most cases the
> > username, password and maybe remote IP is used. This mean that your
> > javascript will probably contain username and password in order to use
> > JDBC to connect to the DB, is this favourable?
> >
> > Allan.
> >
> > On Fri, Jan 30, 2009 at 1:40 PM, Reg Me Please <regmeplease@gmail.com>
> wrote:
> > > Hello all.
> > >
> > > Is there a way to directly access PGSQL from a Javascript application?
> > > With no application server intervention, I mean.
> > > Just like libq allows access from C/C++.
> > >
> > > --
> > > Fahrbahn ist ein graues Band
> > > weisse Streifen, grüner Rand
> > >
> > > --
> > > Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> > > To make changes to your subscription:
> > > http://www.postgresql.org/mailpref/pgsql-general
>
> --
> Fahrbahn ist ein graues Band
> weisse Streifen, grüner Rand
>
> --
> Sent via pgsql-interfaces mailing list (pgsql-interfaces@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-interfaces
>

view thread (10+ messages)  latest in thread

Message-ID: <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com>
Permalink:  ../264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com/
Also on:    postgresql.org/message-id/264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: sdavis2@mail.nih.gov, regmeplease@gmail.com, kamauallan@gmail.com, pgsql-general@postgresql.org
  Subject: Re: [INTERFACES] PGSQL and Javascript
  In-Reply-To: <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox